com.googlecode.concurrenttrees.radix.node.util
Class NodeCharacterComparator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeCharacterComparator
public NodeCharacterComparator()
compare
public int compare(NodeCharacterProvider o1,
NodeCharacterProvider o2)
- Specified by:
compare in interface Comparator<NodeCharacterProvider>
Copyright © 2013. All Rights Reserved.