Interface PartitionMutableSortedSet<T>
-
- All Superinterfaces:
PartitionIterable<T>,PartitionMutableCollection<T>,PartitionMutableSetIterable<T>,PartitionOrderedIterable<T>,PartitionReversibleIterable<T>,PartitionSet<T>,PartitionSortedIterable<T>,PartitionSortedSet<T>
public interface PartitionMutableSortedSet<T> extends PartitionSortedSet<T>, PartitionMutableSetIterable<T>
A PartitionMutableSortedSet is the result of splitting a mutable sorted set into two mutable sorted sets 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 MutableSortedSet<T>getRejected()MutableSortedSet<T>getSelected()PartitionImmutableSortedSet<T>toImmutable()
-
-
-
Method Detail
-
getSelected
MutableSortedSet<T> getSelected()
- Specified by:
getSelectedin interfacePartitionIterable<T>- Specified by:
getSelectedin interfacePartitionMutableCollection<T>- Specified by:
getSelectedin interfacePartitionMutableSetIterable<T>- Specified by:
getSelectedin interfacePartitionOrderedIterable<T>- Specified by:
getSelectedin interfacePartitionReversibleIterable<T>- Specified by:
getSelectedin interfacePartitionSet<T>- Specified by:
getSelectedin interfacePartitionSortedIterable<T>- Specified by:
getSelectedin interfacePartitionSortedSet<T>
-
getRejected
MutableSortedSet<T> getRejected()
- Specified by:
getRejectedin interfacePartitionIterable<T>- Specified by:
getRejectedin interfacePartitionMutableCollection<T>- Specified by:
getRejectedin interfacePartitionMutableSetIterable<T>- Specified by:
getRejectedin interfacePartitionOrderedIterable<T>- Specified by:
getRejectedin interfacePartitionReversibleIterable<T>- Specified by:
getRejectedin interfacePartitionSet<T>- Specified by:
getRejectedin interfacePartitionSortedIterable<T>- Specified by:
getRejectedin interfacePartitionSortedSet<T>
-
toImmutable
PartitionImmutableSortedSet<T> toImmutable()
- Specified by:
toImmutablein interfacePartitionMutableCollection<T>
-
-