abstract
int
|
compare(ResolveInfo o1, ResolveInfo o2)
Compares its two arguments for order.
|
static
<T, U>
Comparator<ResolveInfo>
|
comparing(Function<? super T, ? extends U> keyExtractor, Comparator<? super U> keyComparator)
Accepts a function that extracts a sort key from a type T , and
returns a Comparator<T> that compares by that sort key using
the specified Comparator .
|
static
<T, U extends Comparable<? super U>>
Comparator<ResolveInfo>
|
comparing(Function<? super T, ? extends U> keyExtractor)
Accepts a function that extracts a Comparable sort key from a type T , and returns a Comparator<T> that compares by that sort key.
|
static
<T>
Comparator<ResolveInfo>
|
comparingDouble(ToDoubleFunction<? super T> keyExtractor)
Accepts a function that extracts a double sort key from a type
T , and returns a Comparator<T> that compares by that
sort key.
|
static
<T>
Comparator<ResolveInfo>
|
comparingInt(ToIntFunction<? super T> keyExtractor)
Accepts a function that extracts an int sort key from a type
T , and returns a Comparator<T> that compares by that
sort key.
|
static
<T>
Comparator<ResolveInfo>
|
comparingLong(ToLongFunction<? super T> keyExtractor)
Accepts a function that extracts a long sort key from a type
T , and returns a Comparator<T> that compares by that
sort key.
|
abstract
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to"
this comparator.
|
static
<T extends Comparable<? super T>>
Comparator<T>
|
naturalOrder()
Returns a comparator that compares Comparable objects in natural
order.
|
static
<T>
Comparator<ResolveInfo>
|
nullsFirst(Comparator<? super T> comparator)
Returns a null-friendly comparator that considers null to be
less than non-null.
|
static
<T>
Comparator<ResolveInfo>
|
nullsLast(Comparator<? super T> comparator)
Returns a null-friendly comparator that considers null to be
greater than non-null.
|
static
<T extends Comparable<? super T>>
Comparator<T>
|
reverseOrder()
Returns a comparator that imposes the reverse of the natural
ordering.
|
default
Comparator<ResolveInfo>
|
reversed()
Returns a comparator that imposes the reverse ordering of this
comparator.
|
default
<U extends Comparable<? super U>>
Comparator<ResolveInfo>
|
thenComparing(Function<? super T, ? extends U> keyExtractor)
Returns a lexicographic-order comparator with a function that
extracts a Comparable sort key.
|
default
<U>
Comparator<ResolveInfo>
|
thenComparing(Function<? super T, ? extends U> keyExtractor, Comparator<? super U> keyComparator)
Returns a lexicographic-order comparator with a function that
extracts a key to be compared with the given Comparator .
|
default
Comparator<ResolveInfo>
|
thenComparing(Comparator<? super T> other)
Returns a lexicographic-order comparator with another comparator.
|
default
Comparator<ResolveInfo>
|
thenComparingDouble(ToDoubleFunction<? super T> keyExtractor)
Returns a lexicographic-order comparator with a function that
extracts a double sort key.
|
default
Comparator<ResolveInfo>
|
thenComparingInt(ToIntFunction<? super T> keyExtractor)
Returns a lexicographic-order comparator with a function that
extracts an int sort key.
|
default
Comparator<ResolveInfo>
|
thenComparingLong(ToLongFunction<? super T> keyExtractor)
Returns a lexicographic-order comparator with a function that
extracts a long sort key.
|