public class CharComparator extends Object implements Comparator<Character>
Modifier and Type | Field and Description |
---|---|
static CharComparator |
INSTANCE
A static instance of a CharComparator
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Character char1,
Character char2)
Compare two chars.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final CharComparator INSTANCE
public int compare(Character char1, Character char2)
compare
in interface Comparator<Character>
char1
- First charchar2
- Second charCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.