public final class PowerSetPartitionMapFactory extends java.lang.Object implements PartitionMapFactory
PartitionMapFactory
that generates PowerSetPartitionMap
type objects.Modifier and Type | Field and Description |
---|---|
static PartitionMapFactory |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
<T extends AsyncCloseable> |
newPartitionMap(java.util.function.Function<PartitionAttributes,T> valueFactory)
Create a new
PartitionMap object. |
public static final PartitionMapFactory INSTANCE
public <T extends AsyncCloseable> PartitionMap<T> newPartitionMap(java.util.function.Function<PartitionAttributes,T> valueFactory)
PartitionMapFactory
PartitionMap
object.newPartitionMap
in interface PartitionMapFactory
T
- The value type of a partition.valueFactory
- The factory used to create new partitions.PartitionMap
object.