public static class Double2FloatMap.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 |
|---|---|
Double2FloatArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Double2FloatAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Double2FloatAVLTreeMap |
avlTreeMap(DoubleComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Double2FloatConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Double2FloatLinkedOpenCustomHashMap |
customLinkedMap(DoubleStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Double2FloatOpenCustomHashMap |
customMap(DoubleStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableDouble2FloatOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Double2FloatLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Double2FloatOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Double2FloatMap.BuilderCache |
put(Double2FloatMap.Entry entry)
Helper function to add a Entry into the Map
|
Double2FloatMap.BuilderCache |
put(double key,
float value)
Helper function to add a Entry into the Map
|
Double2FloatMap.BuilderCache |
put(java.lang.Double key,
java.lang.Float value)
Helper function to add a Entry into the Map
|
Double2FloatMap.BuilderCache |
putAll(Double2FloatMap map)
Helper function to add a Map to the Map
|
Double2FloatMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Float> map)
Helper function to add a Map to the Map
|
Double2FloatMap.BuilderCache |
putAll(ObjectIterable<Double2FloatMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Double2FloatRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Double2FloatRBTreeMap |
rbTreeMap(DoubleComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Double2FloatMap.BuilderCache put(double key, float value)
key - the key that should be addedvalue - the value that should be addedpublic Double2FloatMap.BuilderCache put(java.lang.Double key, java.lang.Float value)
key - the key that should be addedvalue - the value that should be addedpublic Double2FloatMap.BuilderCache put(Double2FloatMap.Entry entry)
entry - the Entry that should be addedpublic Double2FloatMap.BuilderCache putAll(Double2FloatMap map)
map - that should be addedpublic Double2FloatMap.BuilderCache putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Float> map)
map - that should be addedpublic Double2FloatMap.BuilderCache putAll(ObjectIterable<Double2FloatMap.Entry> c)
c - that should be addedpublic Double2FloatOpenHashMap map()
public Double2FloatLinkedOpenHashMap linkedMap()
public ImmutableDouble2FloatOpenHashMap immutable()
public Double2FloatOpenCustomHashMap customMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2FloatLinkedOpenCustomHashMap customLinkedMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2FloatConcurrentOpenHashMap concurrentMap()
public Double2FloatArrayMap arrayMap()
public Double2FloatRBTreeMap rbTreeMap()
public Double2FloatRBTreeMap rbTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Treepublic Double2FloatAVLTreeMap avlTreeMap()
public Double2FloatAVLTreeMap avlTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Tree