public static class Short2FloatMap.BuilderCache
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Short2FloatArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Short2FloatAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Short2FloatAVLTreeMap |
avlTreeMap(ShortComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Short2FloatConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Short2FloatLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Short2FloatOpenCustomHashMap |
customMap(ShortStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableShort2FloatOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Short2FloatLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Short2FloatOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Short2FloatMap.BuilderCache |
put(Short2FloatMap.Entry entry)
Helper function to add a Entry into the Map
|
Short2FloatMap.BuilderCache |
put(short key,
float value)
Helper function to add a Entry into the Map
|
Short2FloatMap.BuilderCache |
put(java.lang.Short key,
java.lang.Float value)
Helper function to add a Entry into the Map
|
Short2FloatMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
Helper function to add a Map to the Map
|
Short2FloatMap.BuilderCache |
putAll(ObjectIterable<Short2FloatMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Short2FloatMap.BuilderCache |
putAll(Short2FloatMap map)
Helper function to add a Map to the Map
|
Short2FloatRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Short2FloatRBTreeMap |
rbTreeMap(ShortComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Short2FloatMap.BuilderCache put(short key, float value)
key - the key that should be addedvalue - the value that should be addedpublic Short2FloatMap.BuilderCache put(java.lang.Short key, java.lang.Float value)
key - the key that should be addedvalue - the value that should be addedpublic Short2FloatMap.BuilderCache put(Short2FloatMap.Entry entry)
entry - the Entry that should be addedpublic Short2FloatMap.BuilderCache putAll(Short2FloatMap map)
map - that should be addedpublic Short2FloatMap.BuilderCache putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
map - that should be addedpublic Short2FloatMap.BuilderCache putAll(ObjectIterable<Short2FloatMap.Entry> c)
c - that should be addedpublic Short2FloatOpenHashMap map()
public Short2FloatLinkedOpenHashMap linkedMap()
public ImmutableShort2FloatOpenHashMap immutable()
public Short2FloatOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2FloatLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2FloatConcurrentOpenHashMap concurrentMap()
public Short2FloatArrayMap arrayMap()
public Short2FloatRBTreeMap rbTreeMap()
public Short2FloatRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Treepublic Short2FloatAVLTreeMap avlTreeMap()
public Short2FloatAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Tree