public final class LimiterNameComparator extends Object implements Comparator<String>
Compares limiter names. Puts the system input limiter ahead of all other limiter names.
Constructor and Description |
---|
LimiterNameComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(String limiterA,
String limiterB) |
equals, 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(String limiterA, String limiterB)
compare
in interface Comparator<String>