Class PartitionUnifiedSetWithHashingStrategy<T>
- java.lang.Object
-
- org.eclipse.collections.impl.partition.set.strategy.PartitionUnifiedSetWithHashingStrategy<T>
-
- All Implemented Interfaces:
PartitionIterable<T>
,PartitionMutableCollection<T>
,PartitionMutableSet<T>
,PartitionMutableSetIterable<T>
,PartitionSet<T>
,PartitionUnsortedSet<T>
public class PartitionUnifiedSetWithHashingStrategy<T> extends java.lang.Object implements PartitionMutableSet<T>
-
-
Field Summary
Fields Modifier and Type Field Description private MutableSet<T>
rejected
private MutableSet<T>
selected
-
Constructor Summary
Constructors Constructor Description PartitionUnifiedSetWithHashingStrategy(HashingStrategy<? super T> hashingStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableSet<T>
getRejected()
MutableSet<T>
getSelected()
PartitionImmutableSet<T>
toImmutable()
-
-
-
Field Detail
-
selected
private final MutableSet<T> selected
-
rejected
private final MutableSet<T> rejected
-
-
Constructor Detail
-
PartitionUnifiedSetWithHashingStrategy
public PartitionUnifiedSetWithHashingStrategy(HashingStrategy<? super T> hashingStrategy)
-
-
Method Detail
-
getSelected
public MutableSet<T> getSelected()
- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionMutableCollection<T>
- Specified by:
getSelected
in interfacePartitionMutableSet<T>
- Specified by:
getSelected
in interfacePartitionMutableSetIterable<T>
- Specified by:
getSelected
in interfacePartitionSet<T>
- Specified by:
getSelected
in interfacePartitionUnsortedSet<T>
-
getRejected
public MutableSet<T> getRejected()
- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionMutableCollection<T>
- Specified by:
getRejected
in interfacePartitionMutableSet<T>
- Specified by:
getRejected
in interfacePartitionMutableSetIterable<T>
- Specified by:
getRejected
in interfacePartitionSet<T>
- Specified by:
getRejected
in interfacePartitionUnsortedSet<T>
-
toImmutable
public PartitionImmutableSet<T> toImmutable()
- Specified by:
toImmutable
in interfacePartitionMutableCollection<T>
- Specified by:
toImmutable
in interfacePartitionMutableSet<T>
-
-