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