Class PartitionTreeBag<T>
java.lang.Object
org.eclipse.collections.impl.partition.bag.sorted.PartitionTreeBag<T>
- All Implemented Interfaces:
PartitionBag<T>
,PartitionMutableBagIterable<T>
,PartitionMutableSortedBag<T>
,PartitionSortedBag<T>
,PartitionOrderedIterable<T>
,PartitionReversibleIterable<T>
,PartitionSortedIterable<T>
,PartitionIterable<T>
,PartitionMutableCollection<T>
public class PartitionTreeBag<T> extends Object implements PartitionMutableSortedBag<T>
- Since:
- 4.2
-
Constructor Summary
Constructors Constructor Description PartitionTreeBag(Comparator<? super T> comparator)
-
Method Summary
Modifier and Type Method Description MutableSortedBag<T>
getRejected()
MutableSortedBag<T>
getSelected()
PartitionImmutableSortedBag<T>
toImmutable()
-
Constructor Details
-
Method Details
-
getSelected
- Specified by:
getSelected
in interfacePartitionBag<T>
- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionMutableBagIterable<T>
- Specified by:
getSelected
in interfacePartitionMutableCollection<T>
- Specified by:
getSelected
in interfacePartitionMutableSortedBag<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
- Specified by:
getRejected
in interfacePartitionBag<T>
- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionMutableBagIterable<T>
- Specified by:
getRejected
in interfacePartitionMutableCollection<T>
- Specified by:
getRejected
in interfacePartitionMutableSortedBag<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>
-
toImmutable
- Specified by:
toImmutable
in interfacePartitionMutableBagIterable<T>
- Specified by:
toImmutable
in interfacePartitionMutableCollection<T>
- Specified by:
toImmutable
in interfacePartitionMutableSortedBag<T>
-