Package org.apache.felix.gogo.jline
Class Posix.SortComparator
java.lang.Object
org.apache.felix.gogo.jline.Posix.SortComparator
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSortComparator(boolean caseInsensitive, boolean reverse, boolean ignoreBlanks, boolean numeric, char separator, List<String> sortFields) -
Method Summary
Modifier and TypeMethodDescriptionintprotected intcompareRegion(String s1, int start1, int end1, String s2, int start2, int end2, boolean caseInsensitive) protected Doubleprotected int[]getSortKey(String str, List<Integer> fields, Posix.SortComparator.Key key) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SortComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<String>
-
getDouble
-
compareRegion
-
getSortKey
-
getFieldIndexes
-