com.googlecode.concurrenttrees.radix.node.util
Class NodeCharacterKey

java.lang.Object
  extended by com.googlecode.concurrenttrees.radix.node.util.NodeCharacterKey
All Implemented Interfaces:
NodeCharacterProvider

public class NodeCharacterKey
extends Object
implements NodeCharacterProvider

A lightweight object which simply wraps a Character and implements NodeCharacterProvider, which can be used as a key to locate a node having the same edge first character in a list of nodes using binary search.

Author:
Niall Gallagher

Constructor Summary
NodeCharacterKey(Character character)
           
 
Method Summary
 Character getIncomingEdgeFirstCharacter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCharacterKey

public NodeCharacterKey(Character character)
Method Detail

getIncomingEdgeFirstCharacter

public Character getIncomingEdgeFirstCharacter()
Specified by:
getIncomingEdgeFirstCharacter in interface NodeCharacterProvider


Copyright © 2013. All Rights Reserved.