T - the type of elements maintained by this Collectionpublic static class Object2FloatMap.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 |
|---|---|
Object2FloatArrayMap<T> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Object2FloatAVLTreeMap<T> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Object2FloatAVLTreeMap<T> |
avlTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a AVL TreeMap
|
Object2FloatConcurrentOpenHashMap<T> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Object2FloatLinkedOpenCustomHashMap<T> |
customLinkedMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Object2FloatOpenCustomHashMap<T> |
customMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableObject2FloatOpenHashMap<T> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Object2FloatLinkedOpenHashMap<T> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Object2FloatOpenHashMap<T> |
map()
Builds the Keys and Values into a Hash Map
|
Object2FloatMap.BuilderCache<T> |
put(Object2FloatMap.Entry<T> entry)
Helper function to add a Entry into the Map
|
Object2FloatMap.BuilderCache<T> |
put(T key,
float value)
Helper function to add a Entry into the Map
|
Object2FloatMap.BuilderCache<T> |
put(T key,
java.lang.Float value)
Helper function to add a Entry into the Map
|
Object2FloatMap.BuilderCache<T> |
putAll(java.util.Map<? extends T,? extends java.lang.Float> map)
Helper function to add a Map to the Map
|
Object2FloatMap.BuilderCache<T> |
putAll(Object2FloatMap<T> map)
Helper function to add a Map to the Map
|
Object2FloatMap.BuilderCache<T> |
putAll(ObjectIterable<Object2FloatMap.Entry<T>> c)
Helper function to add a Collection of Entries to the Map
|
Object2FloatRBTreeMap<T> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Object2FloatRBTreeMap<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 Object2FloatMap.BuilderCache<T> put(T key, float value)
key - the key that should be addedvalue - the value that should be addedpublic Object2FloatMap.BuilderCache<T> put(T key, java.lang.Float value)
key - the key that should be addedvalue - the value that should be addedpublic Object2FloatMap.BuilderCache<T> put(Object2FloatMap.Entry<T> entry)
entry - the Entry that should be addedpublic Object2FloatMap.BuilderCache<T> putAll(Object2FloatMap<T> map)
map - that should be addedpublic Object2FloatMap.BuilderCache<T> putAll(java.util.Map<? extends T,? extends java.lang.Float> map)
map - that should be addedpublic Object2FloatMap.BuilderCache<T> putAll(ObjectIterable<Object2FloatMap.Entry<T>> c)
c - that should be addedpublic Object2FloatOpenHashMap<T> map()
public Object2FloatLinkedOpenHashMap<T> linkedMap()
public ImmutableObject2FloatOpenHashMap<T> immutable()
public Object2FloatOpenCustomHashMap<T> customMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2FloatLinkedOpenCustomHashMap<T> customLinkedMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2FloatConcurrentOpenHashMap<T> concurrentMap()
public Object2FloatArrayMap<T> arrayMap()
public Object2FloatRBTreeMap<T> rbTreeMap()
public Object2FloatRBTreeMap<T> rbTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Treepublic Object2FloatAVLTreeMap<T> avlTreeMap()
public Object2FloatAVLTreeMap<T> avlTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Tree