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

java.lang.Object
  extended by com.googlecode.concurrenttrees.radix.node.util.NodeCharacterComparator
All Implemented Interfaces:
Comparator<NodeCharacterProvider>

public class NodeCharacterComparator
extends Object
implements Comparator<NodeCharacterProvider>

Specifies binary search compatibility, and sorting compatibility, of nodes based on Node.getIncomingEdgeFirstCharacter().

Author:
Niall Gallagher

Constructor Summary
NodeCharacterComparator()
           
 
Method Summary
 int compare(NodeCharacterProvider o1, NodeCharacterProvider o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

NodeCharacterComparator

public NodeCharacterComparator()
Method Detail

compare

public int compare(NodeCharacterProvider o1,
                   NodeCharacterProvider o2)
Specified by:
compare in interface Comparator<NodeCharacterProvider>


Copyright © 2013. All Rights Reserved.