Interface PartitionSortedIterable<T>
-
- All Superinterfaces:
PartitionIterable<T>,PartitionOrderedIterable<T>
- All Known Subinterfaces:
PartitionImmutableSortedBag<T>,PartitionImmutableSortedSet<T>,PartitionMutableSortedBag<T>,PartitionMutableSortedSet<T>,PartitionSortedBag<T>,PartitionSortedSet<T>
public interface PartitionSortedIterable<T> extends PartitionOrderedIterable<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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortedIterable<T>getRejected()SortedIterable<T>getSelected()
-
-
-
Method Detail
-
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>
-
-