| Modifier and Type | Class and Description |
|---|---|
class |
AggregateSetFactory<V>
AggregateSetFactory uses a single HashMap
as backing store for the many smaller Sets created
by this SetFactory. |
class |
BitSetFactory<V>
BitSetFactory is a SetFactory that,
given a complete universe of possible values, produces low space
overhead representations of Sets. |
class |
PersistentSetFactory<T>
A
PersistentSetFactory uses hash-consing to ensure that
the Sets created by it maximally reuse space. |
| Modifier and Type | Field and Description |
|---|---|
static SetFactory |
Factories.hashSetFactory
A
SetFactory that generates HashSets. |
static SetFactory |
Factories.linearSetFactory
|
static SetFactory |
Factories.linkedHashSetFactory
A
SetFactory that generates LinkedHashSets. |
static SetFactory |
Factories.treeSetFactory
A
SetFactory that generates TreeSets. |
static SetFactory |
Factories.workSetFactory
A
SetFactory that generates WorkSets. |
| Modifier and Type | Method and Description |
|---|---|
static <V extends java.lang.Enum<V>> |
Factories.enumSetFactory(java.lang.Class<V> enumClass)
A
SetFactory that generates EnumSets. |
static <V> SetFactory<V> |
Factories.hashSetFactory() |
static <V> SetFactory<V> |
Factories.linearSetFactory() |
static <V> SetFactory<V> |
Factories.linkedHashSetFactory() |
static <K,V> SetFactory<java.util.Map.Entry<K,V>> |
Factories.mapSetFactory(MapFactory<K,V> mf)
|
static <K,V> SetFactory<java.util.Map.Entry<K,V>> |
Factories.multiMapSetFactory(MultiMapFactory<K,V> mf)
Returns a
SetFactory that generates
MultiMapSet views of MultiMaps
generated by the given MultiMapFactory. |
static <V> SetFactory<V> |
Factories.synchronizedSetFactory(SetFactory<V> sf)
Returns a
SetFactory that generates synchronized
(thread-safe) Sets. |
static <V> SetFactory<V> |
Factories.treeSetFactory() |
static <V> SetFactory<V> |
Factories.workSetFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <V> SetFactory<V> |
Factories.synchronizedSetFactory(SetFactory<V> sf)
Returns a
SetFactory that generates synchronized
(thread-safe) Sets. |
Copyright (c) 2006 C. Scott Ananian