java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.format.AlphanumCharComparator |
A character comparator that sort strings using a specific order.
The sorting order is as follows:
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AlphanumCharComparator()
Create a case-sensitive comparator.
| |||||||||||
AlphanumCharComparator(boolean caseSensitive)
Create a comparator.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | compare(Character o1, Character o2) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Comparator
|
Create a case-sensitive comparator.
Create a comparator.
caseSensitive | if true, upper-case letters will be sorted before lower-case |
---|