Package | Description |
---|---|
org.glassfish.jersey.internal.guava |
Modifier and Type | Method and Description |
---|---|
static <T> Ordering<T> |
Ordering.from(Comparator<T> comparator)
Returns an ordering based on an existing comparator instance.
|
static <C extends Comparable> |
Ordering.natural()
Returns a serializable ordering that uses the natural order of the values.
|
<S extends T> |
Ordering.reverse()
Returns the reverse of this ordering; the
Ordering equivalent to
Collections.reverseOrder(Comparator) . |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.