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