public static class Long2FloatMap.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 |
|---|---|
Long2FloatArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Long2FloatAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Long2FloatAVLTreeMap |
avlTreeMap(LongComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Long2FloatConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Long2FloatLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Long2FloatOpenCustomHashMap |
customMap(LongStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableLong2FloatOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Long2FloatLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Long2FloatOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Long2FloatMap.BuilderCache |
put(Long2FloatMap.Entry entry)
Helper function to add a Entry into the Map
|
Long2FloatMap.BuilderCache |
put(long key,
float value)
Helper function to add a Entry into the Map
|
Long2FloatMap.BuilderCache |
put(java.lang.Long key,
java.lang.Float value)
Helper function to add a Entry into the Map
|
Long2FloatMap.BuilderCache |
putAll(Long2FloatMap map)
Helper function to add a Map to the Map
|
Long2FloatMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Float> map)
Helper function to add a Map to the Map
|
Long2FloatMap.BuilderCache |
putAll(ObjectIterable<Long2FloatMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Long2FloatRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Long2FloatRBTreeMap |
rbTreeMap(LongComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Long2FloatMap.BuilderCache put(long key, float value)
key - the key that should be addedvalue - the value that should be addedpublic Long2FloatMap.BuilderCache put(java.lang.Long key, java.lang.Float value)
key - the key that should be addedvalue - the value that should be addedpublic Long2FloatMap.BuilderCache put(Long2FloatMap.Entry entry)
entry - the Entry that should be addedpublic Long2FloatMap.BuilderCache putAll(Long2FloatMap map)
map - that should be addedpublic Long2FloatMap.BuilderCache putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Float> map)
map - that should be addedpublic Long2FloatMap.BuilderCache putAll(ObjectIterable<Long2FloatMap.Entry> c)
c - that should be addedpublic Long2FloatOpenHashMap map()
public Long2FloatLinkedOpenHashMap linkedMap()
public ImmutableLong2FloatOpenHashMap immutable()
public Long2FloatOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2FloatLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2FloatConcurrentOpenHashMap concurrentMap()
public Long2FloatArrayMap arrayMap()
public Long2FloatRBTreeMap rbTreeMap()
public Long2FloatRBTreeMap rbTreeMap(LongComparator comp)
comp - the Comparator that sorts the Treepublic Long2FloatAVLTreeMap avlTreeMap()
public Long2FloatAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Comparator that sorts the Tree