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>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderedIterable<T>getRejected()OrderedIterable<T>getSelected()
-
-
-
Method Detail
-
getSelected
OrderedIterable<T> getSelected()
- Specified by:
getSelectedin interfacePartitionIterable<T>
-
getRejected
OrderedIterable<T> getRejected()
- Specified by:
getRejectedin interfacePartitionIterable<T>
-
-