public static class Int2FloatMap.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 |
|---|---|
Int2FloatArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Int2FloatAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Int2FloatAVLTreeMap |
avlTreeMap(IntComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Int2FloatConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Int2FloatLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Int2FloatOpenCustomHashMap |
customMap(IntStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableInt2FloatOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Int2FloatLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Int2FloatOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Int2FloatMap.BuilderCache |
put(Int2FloatMap.Entry entry)
Helper function to add a Entry into the Map
|
Int2FloatMap.BuilderCache |
put(java.lang.Integer key,
java.lang.Float value)
Helper function to add a Entry into the Map
|
Int2FloatMap.BuilderCache |
put(int key,
float value)
Helper function to add a Entry into the Map
|
Int2FloatMap.BuilderCache |
putAll(Int2FloatMap map)
Helper function to add a Map to the Map
|
Int2FloatMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Float> map)
Helper function to add a Map to the Map
|
Int2FloatMap.BuilderCache |
putAll(ObjectIterable<Int2FloatMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Int2FloatRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Int2FloatRBTreeMap |
rbTreeMap(IntComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Int2FloatMap.BuilderCache put(int key, float value)
key - the key that should be addedvalue - the value that should be addedpublic Int2FloatMap.BuilderCache put(java.lang.Integer key, java.lang.Float value)
key - the key that should be addedvalue - the value that should be addedpublic Int2FloatMap.BuilderCache put(Int2FloatMap.Entry entry)
entry - the Entry that should be addedpublic Int2FloatMap.BuilderCache putAll(Int2FloatMap map)
map - that should be addedpublic Int2FloatMap.BuilderCache putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Float> map)
map - that should be addedpublic Int2FloatMap.BuilderCache putAll(ObjectIterable<Int2FloatMap.Entry> c)
c - that should be addedpublic Int2FloatOpenHashMap map()
public Int2FloatLinkedOpenHashMap linkedMap()
public ImmutableInt2FloatOpenHashMap immutable()
public Int2FloatOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2FloatLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2FloatConcurrentOpenHashMap concurrentMap()
public Int2FloatArrayMap arrayMap()
public Int2FloatRBTreeMap rbTreeMap()
public Int2FloatRBTreeMap rbTreeMap(IntComparator comp)
comp - the Comparator that sorts the Treepublic Int2FloatAVLTreeMap avlTreeMap()
public Int2FloatAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Comparator that sorts the Tree