Class PartitionTreeSortedSet<T>
- java.lang.Object
-
- org.eclipse.collections.impl.partition.set.sorted.PartitionTreeSortedSet<T>
-
- All Implemented Interfaces:
PartitionOrderedIterable<T>
,PartitionReversibleIterable<T>
,PartitionSortedIterable<T>
,PartitionIterable<T>
,PartitionMutableCollection<T>
,PartitionMutableSetIterable<T>
,PartitionSet<T>
,PartitionMutableSortedSet<T>
,PartitionSortedSet<T>
public class PartitionTreeSortedSet<T> extends Object implements PartitionMutableSortedSet<T>
-
-
Constructor Summary
Constructors Constructor Description PartitionTreeSortedSet(Comparator<? super T> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableSortedSet<T>
getRejected()
MutableSortedSet<T>
getSelected()
PartitionImmutableSortedSet<T>
toImmutable()
-
-
-
Constructor Detail
-
PartitionTreeSortedSet
public PartitionTreeSortedSet(Comparator<? super T> comparator)
-
-
Method Detail
-
getSelected
public MutableSortedSet<T> getSelected()
- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionMutableCollection<T>
- Specified by:
getSelected
in interfacePartitionMutableSetIterable<T>
- Specified by:
getSelected
in interfacePartitionMutableSortedSet<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
public MutableSortedSet<T> getRejected()
- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionMutableCollection<T>
- Specified by:
getRejected
in interfacePartitionMutableSetIterable<T>
- Specified by:
getRejected
in interfacePartitionMutableSortedSet<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>
-
toImmutable
public PartitionImmutableSortedSet<T> toImmutable()
- Specified by:
toImmutable
in interfacePartitionMutableCollection<T>
- Specified by:
toImmutable
in interfacePartitionMutableSortedSet<T>
-
-