V - the type of elements maintained by this Collectionpublic static class Double2ObjectMap.BuilderCache<V>
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Double2ObjectArrayMap<V> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Double2ObjectAVLTreeMap<V> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Double2ObjectAVLTreeMap<V> |
avlTreeMap(DoubleComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Double2ObjectConcurrentOpenHashMap<V> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Double2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(DoubleStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Double2ObjectOpenCustomHashMap<V> |
customMap(DoubleStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableDouble2ObjectOpenHashMap<V> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Double2ObjectLinkedOpenHashMap<V> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Double2ObjectOpenHashMap<V> |
map()
Builds the Keys and Values into a Hash Map
|
Double2ObjectMap.BuilderCache<V> |
put(Double2ObjectMap.Entry<V> entry)
Helper function to add a Entry into the Map
|
Double2ObjectMap.BuilderCache<V> |
put(double key,
V value)
Helper function to add a Entry into the Map
|
Double2ObjectMap.BuilderCache<V> |
put(java.lang.Double key,
V value)
Helper function to add a Entry into the Map
|
Double2ObjectMap.BuilderCache<V> |
putAll(Double2ObjectMap<V> map)
Helper function to add a Map to the Map
|
Double2ObjectMap.BuilderCache<V> |
putAll(java.util.Map<? extends java.lang.Double,? extends V> map)
Helper function to add a Map to the Map
|
Double2ObjectMap.BuilderCache<V> |
putAll(ObjectIterable<Double2ObjectMap.Entry<V>> c)
Helper function to add a Collection of Entries to the Map
|
Double2ObjectRBTreeMap<V> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Double2ObjectRBTreeMap<V> |
rbTreeMap(DoubleComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Double2ObjectMap.BuilderCache<V> put(double key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Double2ObjectMap.BuilderCache<V> put(java.lang.Double key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Double2ObjectMap.BuilderCache<V> put(Double2ObjectMap.Entry<V> entry)
entry - the Entry that should be addedpublic Double2ObjectMap.BuilderCache<V> putAll(Double2ObjectMap<V> map)
map - that should be addedpublic Double2ObjectMap.BuilderCache<V> putAll(java.util.Map<? extends java.lang.Double,? extends V> map)
map - that should be addedpublic Double2ObjectMap.BuilderCache<V> putAll(ObjectIterable<Double2ObjectMap.Entry<V>> c)
c - that should be addedpublic Double2ObjectOpenHashMap<V> map()
public Double2ObjectLinkedOpenHashMap<V> linkedMap()
public ImmutableDouble2ObjectOpenHashMap<V> immutable()
public Double2ObjectOpenCustomHashMap<V> customMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2ObjectConcurrentOpenHashMap<V> concurrentMap()
public Double2ObjectArrayMap<V> arrayMap()
public Double2ObjectRBTreeMap<V> rbTreeMap()
public Double2ObjectRBTreeMap<V> rbTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Treepublic Double2ObjectAVLTreeMap<V> avlTreeMap()
public Double2ObjectAVLTreeMap<V> avlTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Tree