T
- the type of objects that may be compared by this comparator
Collator
, RuleBasedCollator
int
Compares its two arguments for order.
Accepts a function that extracts a
Comparable
sort key from a type
T
, and returns a
Comparator<T>
that compares by that sort key.
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
.
Accepts a function that extracts a double
sort key from a type T
, and returns a Comparator<T>
that compares by that sort key.
Accepts a function that extracts an int
sort key from a type T
, and returns a Comparator<T>
that compares by that sort key.
Accepts a function that extracts a long
sort key from a type T
, and returns a Comparator<T>
that compares by that sort key.
boolean
Indicates whether some other object is "equal to" this comparator.
Returns a comparator that compares
Comparable
objects in natural order.
Returns a null-friendly comparator that considers null
to be less than non-null.
Returns a null-friendly comparator that considers null
to be greater than non-null.
Returns a comparator that imposes the reverse ordering of this comparator.
Returns a comparator that imposes the reverse of the natural ordering.
Returns a lexicographic-order comparator with another comparator.
Returns a lexicographic-order comparator with a function that extracts a Comparable
sort key.
Returns a lexicographic-order comparator with a function that extracts a key to be compared with the given Comparator
.
Returns a lexicographic-order comparator with a function that extracts a double
sort key.
Returns a lexicographic-order comparator with a function that extracts an int
sort key.
Returns a lexicographic-order comparator with a function that extracts a long
sort key.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4