Interface PartitionOrderedIterable<T>
- All Superinterfaces:
PartitionIterable<T>
- All Known Subinterfaces:
PartitionImmutableList<T>,PartitionImmutableSortedBag<T>,PartitionImmutableSortedSet<T>,PartitionImmutableStack<T>,PartitionList<T>,PartitionMutableList<T>,PartitionMutableSortedBag<T>,PartitionMutableSortedSet<T>,PartitionMutableStack<T>,PartitionReversibleIterable<T>,PartitionSortedBag<T>,PartitionSortedIterable<T>,PartitionSortedSet<T>,PartitionStack<T>
A PartitionOrderedIterable is the result of splitting a OrderedIterable into two OrderedIterables 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:
- 6.0
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getSelected
OrderedIterable<T> getSelected()- Specified by:
getSelectedin interfacePartitionIterable<T>
-
getRejected
OrderedIterable<T> getRejected()- Specified by:
getRejectedin interfacePartitionIterable<T>
-