V - the type of elements maintained by this Collectionpublic static class Float2ObjectMap.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 |
|---|---|
Float2ObjectArrayMap<V> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Float2ObjectAVLTreeMap<V> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Float2ObjectAVLTreeMap<V> |
avlTreeMap(FloatComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Float2ObjectConcurrentOpenHashMap<V> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Float2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(FloatStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Float2ObjectOpenCustomHashMap<V> |
customMap(FloatStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableFloat2ObjectOpenHashMap<V> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Float2ObjectLinkedOpenHashMap<V> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Float2ObjectOpenHashMap<V> |
map()
Builds the Keys and Values into a Hash Map
|
Float2ObjectMap.BuilderCache<V> |
put(Float2ObjectMap.Entry<V> entry)
Helper function to add a Entry into the Map
|
Float2ObjectMap.BuilderCache<V> |
put(float key,
V value)
Helper function to add a Entry into the Map
|
Float2ObjectMap.BuilderCache<V> |
put(java.lang.Float key,
V value)
Helper function to add a Entry into the Map
|
Float2ObjectMap.BuilderCache<V> |
putAll(Float2ObjectMap<V> map)
Helper function to add a Map to the Map
|
Float2ObjectMap.BuilderCache<V> |
putAll(java.util.Map<? extends java.lang.Float,? extends V> map)
Helper function to add a Map to the Map
|
Float2ObjectMap.BuilderCache<V> |
putAll(ObjectIterable<Float2ObjectMap.Entry<V>> c)
Helper function to add a Collection of Entries to the Map
|
Float2ObjectRBTreeMap<V> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Float2ObjectRBTreeMap<V> |
rbTreeMap(FloatComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Float2ObjectMap.BuilderCache<V> put(float key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Float2ObjectMap.BuilderCache<V> put(java.lang.Float key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Float2ObjectMap.BuilderCache<V> put(Float2ObjectMap.Entry<V> entry)
entry - the Entry that should be addedpublic Float2ObjectMap.BuilderCache<V> putAll(Float2ObjectMap<V> map)
map - that should be addedpublic Float2ObjectMap.BuilderCache<V> putAll(java.util.Map<? extends java.lang.Float,? extends V> map)
map - that should be addedpublic Float2ObjectMap.BuilderCache<V> putAll(ObjectIterable<Float2ObjectMap.Entry<V>> c)
c - that should be addedpublic Float2ObjectOpenHashMap<V> map()
public Float2ObjectLinkedOpenHashMap<V> linkedMap()
public ImmutableFloat2ObjectOpenHashMap<V> immutable()
public Float2ObjectOpenCustomHashMap<V> customMap(FloatStrategy strategy)
strategy - the that controls the keys and valuespublic Float2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(FloatStrategy strategy)
strategy - the that controls the keys and valuespublic Float2ObjectConcurrentOpenHashMap<V> concurrentMap()
public Float2ObjectArrayMap<V> arrayMap()
public Float2ObjectRBTreeMap<V> rbTreeMap()
public Float2ObjectRBTreeMap<V> rbTreeMap(FloatComparator comp)
comp - the Comparator that sorts the Treepublic Float2ObjectAVLTreeMap<V> avlTreeMap()
public Float2ObjectAVLTreeMap<V> avlTreeMap(FloatComparator comp)
comp - the Comparator that sorts the Tree