Class NodeCharacterComparator
java.lang.Object
com.googlecode.concurrenttrees.radix.node.util.NodeCharacterComparator
- All Implemented Interfaces:
Comparator<NodeCharacterProvider>
Specifies binary search compatibility, and sorting compatibility, of nodes based on
Node.getIncomingEdgeFirstCharacter()
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
NodeCharacterComparator
public NodeCharacterComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<NodeCharacterProvider>
-