T - the type of elements maintained by this Collectionpublic static class Object2DoubleMap.BuilderCache<T>
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Object2DoubleArrayMap<T> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Object2DoubleAVLTreeMap<T> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Object2DoubleAVLTreeMap<T> |
avlTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a AVL TreeMap
|
Object2DoubleConcurrentOpenHashMap<T> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Object2DoubleLinkedOpenCustomHashMap<T> |
customLinkedMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Object2DoubleOpenCustomHashMap<T> |
customMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableObject2DoubleOpenHashMap<T> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Object2DoubleLinkedOpenHashMap<T> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Object2DoubleOpenHashMap<T> |
map()
Builds the Keys and Values into a Hash Map
|
Object2DoubleMap.BuilderCache<T> |
put(Object2DoubleMap.Entry<T> entry)
Helper function to add a Entry into the Map
|
Object2DoubleMap.BuilderCache<T> |
put(T key,
double value)
Helper function to add a Entry into the Map
|
Object2DoubleMap.BuilderCache<T> |
put(T key,
java.lang.Double value)
Helper function to add a Entry into the Map
|
Object2DoubleMap.BuilderCache<T> |
putAll(java.util.Map<? extends T,? extends java.lang.Double> map)
Helper function to add a Map to the Map
|
Object2DoubleMap.BuilderCache<T> |
putAll(Object2DoubleMap<T> map)
Helper function to add a Map to the Map
|
Object2DoubleMap.BuilderCache<T> |
putAll(ObjectIterable<Object2DoubleMap.Entry<T>> c)
Helper function to add a Collection of Entries to the Map
|
Object2DoubleRBTreeMap<T> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Object2DoubleRBTreeMap<T> |
rbTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Object2DoubleMap.BuilderCache<T> put(T key, double value)
key - the key that should be addedvalue - the value that should be addedpublic Object2DoubleMap.BuilderCache<T> put(T key, java.lang.Double value)
key - the key that should be addedvalue - the value that should be addedpublic Object2DoubleMap.BuilderCache<T> put(Object2DoubleMap.Entry<T> entry)
entry - the Entry that should be addedpublic Object2DoubleMap.BuilderCache<T> putAll(Object2DoubleMap<T> map)
map - that should be addedpublic Object2DoubleMap.BuilderCache<T> putAll(java.util.Map<? extends T,? extends java.lang.Double> map)
map - that should be addedpublic Object2DoubleMap.BuilderCache<T> putAll(ObjectIterable<Object2DoubleMap.Entry<T>> c)
c - that should be addedpublic Object2DoubleOpenHashMap<T> map()
public Object2DoubleLinkedOpenHashMap<T> linkedMap()
public ImmutableObject2DoubleOpenHashMap<T> immutable()
public Object2DoubleOpenCustomHashMap<T> customMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2DoubleLinkedOpenCustomHashMap<T> customLinkedMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2DoubleConcurrentOpenHashMap<T> concurrentMap()
public Object2DoubleArrayMap<T> arrayMap()
public Object2DoubleRBTreeMap<T> rbTreeMap()
public Object2DoubleRBTreeMap<T> rbTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Treepublic Object2DoubleAVLTreeMap<T> avlTreeMap()
public Object2DoubleAVLTreeMap<T> avlTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Tree