PartitionBag<T>
, PartitionMutableBag<T>
, PartitionMutableBagIterable<T>
, PartitionUnsortedBag<T>
, PartitionIterable<T>
, PartitionMutableCollection<T>
public class PartitionHashBag<T> extends java.lang.Object implements PartitionMutableBag<T>
Constructor | Description |
---|---|
PartitionHashBag() |
Modifier and Type | Method | Description |
---|---|---|
MutableBag<T> |
getRejected() |
|
MutableBag<T> |
getSelected() |
|
PartitionImmutableBag<T> |
toImmutable() |
public MutableBag<T> getSelected()
getSelected
in interface PartitionBag<T>
getSelected
in interface PartitionIterable<T>
getSelected
in interface PartitionMutableBag<T>
getSelected
in interface PartitionMutableBagIterable<T>
getSelected
in interface PartitionMutableCollection<T>
getSelected
in interface PartitionUnsortedBag<T>
public MutableBag<T> getRejected()
getRejected
in interface PartitionBag<T>
getRejected
in interface PartitionIterable<T>
getRejected
in interface PartitionMutableBag<T>
getRejected
in interface PartitionMutableBagIterable<T>
getRejected
in interface PartitionMutableCollection<T>
getRejected
in interface PartitionUnsortedBag<T>
public PartitionImmutableBag<T> toImmutable()
toImmutable
in interface PartitionMutableBag<T>
toImmutable
in interface PartitionMutableBagIterable<T>
toImmutable
in interface PartitionMutableCollection<T>
Copyright © 2004–2017. All rights reserved.