Package org.eclipse.collections.api.set.sorted
This package contains interfaces for sorted set API.
A sorted set is an Iterable
which contains elements in sorted order. It allows for faster retrievals.
This package contains 3 interfaces:
-
ImmutableSortedSet
- the non-modifiable equivalent interface toMutableSortedSet
. -
MutableSortedSet
- an implementation of a JCF SortedSet which provides internal iterator methods matching the Smalltalk Collection protocol. -
SortedSetIterable
- an iterable whose items are unique and sorted.
-
Interface Summary Interface Description ImmutableSortedSet<T> ImmutableSortedSet is the non-modifiable equivalent interface toMutableSortedSet
.MutableSortedSet<T> A MutableSortedSet is an implementation of a JCF SortedSet which provides methods matching the Smalltalk Collection protocol.ParallelSortedSetIterable<T> SortedSetIterable<T> An iterable whose items are unique and sorted by some comparator or their natural ordering.