@FunctionalInterface @Generated(value="Autogenerated by OpenJAX CodeGen Template (0.2.5)", date="2020-05-23") public interface CharComparator
char
s.Modifier and Type | Field and Description |
---|---|
static CharComparator |
NATURAL
Comparator that compares two
char values numerically. |
static CharComparator |
REVERSE
Comparator that compares two
char values reverse numerically. |
Modifier and Type | Method and Description |
---|---|
int |
compare(char f1,
char f2)
Compares its two arguments for order.
|
default CharComparator |
reverse()
Returns a comparator that imposes the reverse ordering of this comparator.
|
static final CharComparator NATURAL
char
values numerically.Character.compare(char,char)
static final CharComparator REVERSE
char
values reverse numerically.reverse()
int compare(char f1, char f2)
f1
- The first char
to be compared.f2
- the second char
to be compared.Comparator.compare(Object,Object)
default CharComparator reverse()
Copyright © 2020 LibJ. All rights reserved.