Package io.vavr.collection
Interface Ordered<T>
-
- Type Parameters:
T
- Component type
- All Known Subinterfaces:
SortedMap<K,V>
,SortedMultimap<K,V>
,SortedSet<T>
- All Known Implementing Classes:
BitSet
,PriorityQueue
,TreeMap
,TreeMultimap
,TreeSet
public interface Ordered<T>
An ordered collection interface.
-
-
Method Summary
Modifier and Type Method Description java.util.Comparator<T>
comparator()
Returns the comparator which defines the order of the elements contained in this collection.
-
-
-
Method Detail
-
comparator
java.util.Comparator<T> comparator()
Returns the comparator which defines the order of the elements contained in this collection.- Returns:
- The comparator that defines the order of this collection's elements.
-
-