Package com.google.common.collect
Class SortedIterables
java.lang.Object
com.google.common.collect.SortedIterables
Utilities for dealing with sorted collections of all types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <E> Comparator
<? super E> comparator
(SortedSet<E> sortedSet) static boolean
hasSameComparator
(Comparator<?> comparator, Iterable<?> elements) Returnstrue
ifelements
is a sorted collection using an ordering equivalent tocomparator
.
-
Constructor Details
-
SortedIterables
private SortedIterables()
-
-
Method Details
-
hasSameComparator
Returnstrue
ifelements
is a sorted collection using an ordering equivalent tocomparator
. -
comparator
-