public static class Int2DoubleMap.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 |
|---|---|
Int2DoubleArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Int2DoubleAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Int2DoubleAVLTreeMap |
avlTreeMap(IntComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Int2DoubleConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Int2DoubleLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Int2DoubleOpenCustomHashMap |
customMap(IntStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableInt2DoubleOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Int2DoubleLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Int2DoubleOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Int2DoubleMap.BuilderCache |
put(Int2DoubleMap.Entry entry)
Helper function to add a Entry into the Map
|
Int2DoubleMap.BuilderCache |
put(int key,
double value)
Helper function to add a Entry into the Map
|
Int2DoubleMap.BuilderCache |
put(java.lang.Integer key,
java.lang.Double value)
Helper function to add a Entry into the Map
|
Int2DoubleMap.BuilderCache |
putAll(Int2DoubleMap map)
Helper function to add a Map to the Map
|
Int2DoubleMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Double> map)
Helper function to add a Map to the Map
|
Int2DoubleMap.BuilderCache |
putAll(ObjectIterable<Int2DoubleMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Int2DoubleRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Int2DoubleRBTreeMap |
rbTreeMap(IntComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Int2DoubleMap.BuilderCache put(int key, double value)
key - the key that should be addedvalue - the value that should be addedpublic Int2DoubleMap.BuilderCache put(java.lang.Integer key, java.lang.Double value)
key - the key that should be addedvalue - the value that should be addedpublic Int2DoubleMap.BuilderCache put(Int2DoubleMap.Entry entry)
entry - the Entry that should be addedpublic Int2DoubleMap.BuilderCache putAll(Int2DoubleMap map)
map - that should be addedpublic Int2DoubleMap.BuilderCache putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Double> map)
map - that should be addedpublic Int2DoubleMap.BuilderCache putAll(ObjectIterable<Int2DoubleMap.Entry> c)
c - that should be addedpublic Int2DoubleOpenHashMap map()
public Int2DoubleLinkedOpenHashMap linkedMap()
public ImmutableInt2DoubleOpenHashMap immutable()
public Int2DoubleOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2DoubleLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2DoubleConcurrentOpenHashMap concurrentMap()
public Int2DoubleArrayMap arrayMap()
public Int2DoubleRBTreeMap rbTreeMap()
public Int2DoubleRBTreeMap rbTreeMap(IntComparator comp)
comp - the Comparator that sorts the Treepublic Int2DoubleAVLTreeMap avlTreeMap()
public Int2DoubleAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Comparator that sorts the Tree