Interface PartitionSortedSet<T>
- All Superinterfaces:
PartitionIterable<T>
,PartitionOrderedIterable<T>
,PartitionReversibleIterable<T>
,PartitionSet<T>
,PartitionSortedIterable<T>
- All Known Subinterfaces:
PartitionImmutableSortedSet<T>
,PartitionMutableSortedSet<T>
- All Known Implementing Classes:
PartitionImmutableSortedSetImpl
,PartitionTreeSortedSet
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
Modifier and TypeMethodDescription
-
Method Details
-
getSelected
SortedSetIterable<T> getSelected()- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionOrderedIterable<T>
- Specified by:
getSelected
in interfacePartitionReversibleIterable<T>
- Specified by:
getSelected
in interfacePartitionSet<T>
- Specified by:
getSelected
in interfacePartitionSortedIterable<T>
-
getRejected
SortedSetIterable<T> getRejected()- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionOrderedIterable<T>
- Specified by:
getRejected
in interfacePartitionReversibleIterable<T>
- Specified by:
getRejected
in interfacePartitionSet<T>
- Specified by:
getRejected
in interfacePartitionSortedIterable<T>
-