org.apache.hadoop.hbase.codec.prefixtree.encode.tokenize
Class TokenDepthComparator
java.lang.Object
org.apache.hadoop.hbase.codec.prefixtree.encode.tokenize.TokenDepthComparator
- All Implemented Interfaces:
- Comparator<TokenizerNode>
@InterfaceAudience.Private
public class TokenDepthComparator
- extends Object
- implements Comparator<TokenizerNode>
Determines order of nodes in the output array. Maybe possible to optimize further.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenDepthComparator
public TokenDepthComparator()
compare
public int compare(TokenizerNode a,
TokenizerNode b)
- Specified by:
compare
in interface Comparator<TokenizerNode>
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.