public static class Short2DoubleMap.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 |
|---|---|
Short2DoubleArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Short2DoubleAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Short2DoubleAVLTreeMap |
avlTreeMap(ShortComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Short2DoubleConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Short2DoubleLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Short2DoubleOpenCustomHashMap |
customMap(ShortStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableShort2DoubleOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Short2DoubleLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Short2DoubleOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Short2DoubleMap.BuilderCache |
put(Short2DoubleMap.Entry entry)
Helper function to add a Entry into the Map
|
Short2DoubleMap.BuilderCache |
put(short key,
double value)
Helper function to add a Entry into the Map
|
Short2DoubleMap.BuilderCache |
put(java.lang.Short key,
java.lang.Double value)
Helper function to add a Entry into the Map
|
Short2DoubleMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Double> map)
Helper function to add a Map to the Map
|
Short2DoubleMap.BuilderCache |
putAll(ObjectIterable<Short2DoubleMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Short2DoubleMap.BuilderCache |
putAll(Short2DoubleMap map)
Helper function to add a Map to the Map
|
Short2DoubleRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Short2DoubleRBTreeMap |
rbTreeMap(ShortComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Short2DoubleMap.BuilderCache put(short key, double value)
key - the key that should be addedvalue - the value that should be addedpublic Short2DoubleMap.BuilderCache put(java.lang.Short key, java.lang.Double value)
key - the key that should be addedvalue - the value that should be addedpublic Short2DoubleMap.BuilderCache put(Short2DoubleMap.Entry entry)
entry - the Entry that should be addedpublic Short2DoubleMap.BuilderCache putAll(Short2DoubleMap map)
map - that should be addedpublic Short2DoubleMap.BuilderCache putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Double> map)
map - that should be addedpublic Short2DoubleMap.BuilderCache putAll(ObjectIterable<Short2DoubleMap.Entry> c)
c - that should be addedpublic Short2DoubleOpenHashMap map()
public Short2DoubleLinkedOpenHashMap linkedMap()
public ImmutableShort2DoubleOpenHashMap immutable()
public Short2DoubleOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2DoubleLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2DoubleConcurrentOpenHashMap concurrentMap()
public Short2DoubleArrayMap arrayMap()
public Short2DoubleRBTreeMap rbTreeMap()
public Short2DoubleRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Treepublic Short2DoubleAVLTreeMap avlTreeMap()
public Short2DoubleAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Tree