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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableSortedBag<T>getRejected()MutableSortedBag<T>getSelected()PartitionImmutableSortedBag<T>toImmutable()
-
-
-
Constructor Detail
-
PartitionTreeBag
public PartitionTreeBag(Comparator<? super T> comparator)
-
-
Method Detail
-
getSelected
public MutableSortedBag<T> getSelected()
- Specified by:
getSelectedin interfacePartitionBag<T>- Specified by:
getSelectedin interfacePartitionIterable<T>- Specified by:
getSelectedin interfacePartitionMutableBagIterable<T>- Specified by:
getSelectedin interfacePartitionMutableCollection<T>- Specified by:
getSelectedin interfacePartitionMutableSortedBag<T>- Specified by:
getSelectedin interfacePartitionOrderedIterable<T>- Specified by:
getSelectedin interfacePartitionReversibleIterable<T>- Specified by:
getSelectedin interfacePartitionSortedBag<T>- Specified by:
getSelectedin interfacePartitionSortedIterable<T>
-
getRejected
public MutableSortedBag<T> getRejected()
- Specified by:
getRejectedin interfacePartitionBag<T>- Specified by:
getRejectedin interfacePartitionIterable<T>- Specified by:
getRejectedin interfacePartitionMutableBagIterable<T>- Specified by:
getRejectedin interfacePartitionMutableCollection<T>- Specified by:
getRejectedin interfacePartitionMutableSortedBag<T>- Specified by:
getRejectedin interfacePartitionOrderedIterable<T>- Specified by:
getRejectedin interfacePartitionReversibleIterable<T>- Specified by:
getRejectedin interfacePartitionSortedBag<T>- Specified by:
getRejectedin interfacePartitionSortedIterable<T>
-
toImmutable
public PartitionImmutableSortedBag<T> toImmutable()
- Specified by:
toImmutablein interfacePartitionMutableBagIterable<T>- Specified by:
toImmutablein interfacePartitionMutableCollection<T>- Specified by:
toImmutablein interfacePartitionMutableSortedBag<T>
-
-