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