Interface PartitionReversibleIterable<T>
-
- All Superinterfaces:
PartitionIterable<T>
,PartitionOrderedIterable<T>
- All Known Subinterfaces:
PartitionImmutableList<T>
,PartitionImmutableSortedBag<T>
,PartitionImmutableSortedSet<T>
,PartitionList<T>
,PartitionMutableList<T>
,PartitionMutableSortedBag<T>
,PartitionMutableSortedSet<T>
,PartitionSortedBag<T>
,PartitionSortedSet<T>
- All Known Implementing Classes:
PartitionFastList
,PartitionImmutableListImpl
,PartitionImmutableSortedBagImpl
,PartitionImmutableSortedSetImpl
,PartitionTreeBag
,PartitionTreeSortedSet
public interface PartitionReversibleIterable<T> extends PartitionOrderedIterable<T>
A PartitionReversibleIterable is the result of splitting a ReversibleIterable into two ReversibleIterables 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:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReversibleIterable<T>
getRejected()
ReversibleIterable<T>
getSelected()
-
-
-
Method Detail
-
getSelected
ReversibleIterable<T> getSelected()
- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionOrderedIterable<T>
-
getRejected
ReversibleIterable<T> getRejected()
- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionOrderedIterable<T>
-
-