Interface PartitionImmutableSortedBag<T>
-
- All Superinterfaces:
PartitionBag<T>
,PartitionImmutableBagIterable<T>
,PartitionImmutableCollection<T>
,PartitionIterable<T>
,PartitionOrderedIterable<T>
,PartitionReversibleIterable<T>
,PartitionSortedBag<T>
,PartitionSortedIterable<T>
- All Known Implementing Classes:
PartitionImmutableSortedBagImpl
public interface PartitionImmutableSortedBag<T> extends PartitionSortedBag<T>, PartitionImmutableBagIterable<T>
A PartitionImmutableSortedBag is the result of splitting an immutable sorted bag into two immutable sorted bags 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.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableSortedBag<T>
getRejected()
ImmutableSortedBag<T>
getSelected()
-
-
-
Method Detail
-
getSelected
ImmutableSortedBag<T> getSelected()
- Specified by:
getSelected
in interfacePartitionBag<T>
- Specified by:
getSelected
in interfacePartitionImmutableBagIterable<T>
- Specified by:
getSelected
in interfacePartitionImmutableCollection<T>
- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionOrderedIterable<T>
- Specified by:
getSelected
in interfacePartitionReversibleIterable<T>
- Specified by:
getSelected
in interfacePartitionSortedBag<T>
- Specified by:
getSelected
in interfacePartitionSortedIterable<T>
-
getRejected
ImmutableSortedBag<T> getRejected()
- Specified by:
getRejected
in interfacePartitionBag<T>
- Specified by:
getRejected
in interfacePartitionImmutableBagIterable<T>
- Specified by:
getRejected
in interfacePartitionImmutableCollection<T>
- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionOrderedIterable<T>
- Specified by:
getRejected
in interfacePartitionReversibleIterable<T>
- Specified by:
getRejected
in interfacePartitionSortedBag<T>
- Specified by:
getRejected
in interfacePartitionSortedIterable<T>
-
-