Interface PartitionSortedIterable<T>
- All Superinterfaces:
PartitionIterable<T>,PartitionOrderedIterable<T>
- All Known Subinterfaces:
PartitionImmutableSortedBag<T>,PartitionImmutableSortedSet<T>,PartitionMutableSortedBag<T>,PartitionMutableSortedSet<T>,PartitionSortedBag<T>,PartitionSortedSet<T>
A PartitionSortedIterable is the result of splitting a SortedIterable into two SortedIterables based on a Predicate.
The results that answer true for the Predicate will be returned from the getSelected() method and the results
that answer false for the predicate will be returned from the getRejected() method.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getSelected
SortedIterable<T> getSelected()- Specified by:
getSelectedin interfacePartitionIterable<T>- Specified by:
getSelectedin interfacePartitionOrderedIterable<T>
-
getRejected
SortedIterable<T> getRejected()- Specified by:
getRejectedin interfacePartitionIterable<T>- Specified by:
getRejectedin interfacePartitionOrderedIterable<T>
-