public class TokenComparator extends Object implements Comparator<Token>
| Constructor and Description |
|---|
TokenComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Token t1,
Token t2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Token t1, Token t2)
compare in interface Comparator<Token>Copyright © 2021. All rights reserved.