Interface PartitionSortedSet<T>
-
- All Superinterfaces:
PartitionIterable<T>,PartitionOrderedIterable<T>,PartitionReversibleIterable<T>,PartitionSet<T>,PartitionSortedIterable<T>
- All Known Subinterfaces:
PartitionImmutableSortedSet<T>,PartitionMutableSortedSet<T>
public interface PartitionSortedSet<T> extends PartitionSet<T>, PartitionSortedIterable<T>, PartitionReversibleIterable<T>
A PartitionSortedSet is the result of splitting a SortedSetIterable into two SortedSetIterables 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortedSetIterable<T>getRejected()SortedSetIterable<T>getSelected()
-
-
-
Method Detail
-
getSelected
SortedSetIterable<T> getSelected()
- Specified by:
getSelectedin interfacePartitionIterable<T>- Specified by:
getSelectedin interfacePartitionOrderedIterable<T>- Specified by:
getSelectedin interfacePartitionReversibleIterable<T>- Specified by:
getSelectedin interfacePartitionSet<T>- Specified by:
getSelectedin interfacePartitionSortedIterable<T>
-
getRejected
SortedSetIterable<T> getRejected()
- Specified by:
getRejectedin interfacePartitionIterable<T>- Specified by:
getRejectedin interfacePartitionOrderedIterable<T>- Specified by:
getRejectedin interfacePartitionReversibleIterable<T>- Specified by:
getRejectedin interfacePartitionSet<T>- Specified by:
getRejectedin interfacePartitionSortedIterable<T>
-
-