public class OffsetComparator extends Object implements Comparator<Token>
Constructor and Description |
---|
OffsetComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Token tok1,
Token tok2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Token tok1, Token tok2)
compare
in interface Comparator<Token>
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.