Interface PartitionImmutableSortedSet<T>
-
- All Superinterfaces:
PartitionImmutableCollection<T>,PartitionImmutableSetIterable<T>,PartitionIterable<T>,PartitionOrderedIterable<T>,PartitionReversibleIterable<T>,PartitionSet<T>,PartitionSortedIterable<T>,PartitionSortedSet<T>
public interface PartitionImmutableSortedSet<T> extends PartitionSortedSet<T>, PartitionImmutableSetIterable<T>
A PartitionImmutableSortedSet is the result of splitting an immutable sorted set into two immutable 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 ImmutableSortedSet<T>getRejected()ImmutableSortedSet<T>getSelected()
-
-
-
Method Detail
-
getSelected
ImmutableSortedSet<T> getSelected()
- Specified by:
getSelectedin interfacePartitionImmutableCollection<T>- Specified by:
getSelectedin interfacePartitionImmutableSetIterable<T>- 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>- Specified by:
getSelectedin interfacePartitionSortedSet<T>
-
getRejected
ImmutableSortedSet<T> getRejected()
- Specified by:
getRejectedin interfacePartitionImmutableCollection<T>- Specified by:
getRejectedin interfacePartitionImmutableSetIterable<T>- 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>- Specified by:
getRejectedin interfacePartitionSortedSet<T>
-
-