Interface PartitionSortedIterable<T>
- All Superinterfaces:
PartitionIterable<T>
,PartitionOrderedIterable<T>
- All Known Subinterfaces:
PartitionImmutableSortedBag<T>
,PartitionImmutableSortedSet<T>
,PartitionMutableSortedBag<T>
,PartitionMutableSortedSet<T>
,PartitionSortedBag<T>
,PartitionSortedSet<T>
- All Known Implementing Classes:
PartitionImmutableSortedBagImpl
,PartitionImmutableSortedSetImpl
,PartitionTreeBag
,PartitionTreeSortedSet
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:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionOrderedIterable<T>
-
getRejected
SortedIterable<T> getRejected()- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionOrderedIterable<T>
-