Interface PartitionImmutableSortedSet<T>
-
- All Superinterfaces:
PartitionImmutableCollection<T>
,PartitionImmutableSetIterable<T>
,PartitionIterable<T>
,PartitionOrderedIterable<T>
,PartitionReversibleIterable<T>
,PartitionSet<T>
,PartitionSortedIterable<T>
,PartitionSortedSet<T>
- All Known Implementing Classes:
PartitionImmutableSortedSetImpl
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:
getSelected
in interfacePartitionImmutableCollection<T>
- Specified by:
getSelected
in interfacePartitionImmutableSetIterable<T>
- 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>
- Specified by:
getSelected
in interfacePartitionSortedSet<T>
-
getRejected
ImmutableSortedSet<T> getRejected()
- Specified by:
getRejected
in interfacePartitionImmutableCollection<T>
- Specified by:
getRejected
in interfacePartitionImmutableSetIterable<T>
- 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>
- Specified by:
getRejected
in interfacePartitionSortedSet<T>
-
-