Class StringSorter
java.lang.Object
org.sblim.cimclient.internal.util.StringSorter
- All Implemented Interfaces:
Comparator<Object>
Class StringSorter is responsible for non case sensitive sorting and binary
searching of String arrays.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
static boolean
Finds pName, in pArray which must be a non case sensitive sorted array of Strings.static String[]
Sorts non case sensitively the passed String array, the passed array is not copied.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
StringSorter
public StringSorter()
-
-
Method Details
-
sort
-
find
-
compare
- Specified by:
compare
in interfaceComparator<Object>
- See Also:
-