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 booleanhasSameComparator(Comparator<?> comparator, Iterable<?> elements) Returnstrueifelementsis a sorted collection using an ordering equivalent tocomparator.
-
Constructor Details
-
SortedIterables
private SortedIterables()
-
-
Method Details
-
hasSameComparator
Returnstrueifelementsis a sorted collection using an ordering equivalent tocomparator. -
comparator
-