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>
- All Known Implementing Classes:
PartitionArrayStack
,PartitionFastList
,PartitionImmutableListImpl
,PartitionImmutableSortedBagImpl
,PartitionImmutableSortedSetImpl
,PartitionImmutableStackImpl
,PartitionTreeBag
,PartitionTreeSortedSet
public interface PartitionOrderedIterable<T> extends PartitionIterable<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 Type Method Description OrderedIterable<T>
getRejected()
OrderedIterable<T>
getSelected()
-
Method Details
-
getSelected
OrderedIterable<T> getSelected()- Specified by:
getSelected
in interfacePartitionIterable<T>
-
getRejected
OrderedIterable<T> getRejected()- Specified by:
getRejected
in interfacePartitionIterable<T>
-