Class LimiterNameComparator
- java.lang.Object
-
- com.opencloud.rhino.limiting.util.LimiterNameComparator
-
- All Implemented Interfaces:
Comparator<String>
public final class LimiterNameComparator extends Object implements Comparator<String>
Compares limiter names. Puts the system input limiter ahead of all other limiter names.
-
-
Constructor Summary
Constructors Constructor Description LimiterNameComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(String limiterA, String limiterB)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(String limiterA, String limiterB)
- Specified by:
compare
in interfaceComparator<String>
-
-