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