public static class Double2ShortMap.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 |
|---|---|
Double2ShortArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Double2ShortAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Double2ShortAVLTreeMap |
avlTreeMap(DoubleComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Double2ShortConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Double2ShortLinkedOpenCustomHashMap |
customLinkedMap(DoubleStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Double2ShortOpenCustomHashMap |
customMap(DoubleStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableDouble2ShortOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Double2ShortLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Double2ShortOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Double2ShortMap.BuilderCache |
put(Double2ShortMap.Entry entry)
Helper function to add a Entry into the Map
|
Double2ShortMap.BuilderCache |
put(double key,
short value)
Helper function to add a Entry into the Map
|
Double2ShortMap.BuilderCache |
put(java.lang.Double key,
java.lang.Short value)
Helper function to add a Entry into the Map
|
Double2ShortMap.BuilderCache |
putAll(Double2ShortMap map)
Helper function to add a Map to the Map
|
Double2ShortMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Short> map)
Helper function to add a Map to the Map
|
Double2ShortMap.BuilderCache |
putAll(ObjectIterable<Double2ShortMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Double2ShortRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Double2ShortRBTreeMap |
rbTreeMap(DoubleComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Double2ShortMap.BuilderCache put(double key, short value)
key - the key that should be addedvalue - the value that should be addedpublic Double2ShortMap.BuilderCache put(java.lang.Double key, java.lang.Short value)
key - the key that should be addedvalue - the value that should be addedpublic Double2ShortMap.BuilderCache put(Double2ShortMap.Entry entry)
entry - the Entry that should be addedpublic Double2ShortMap.BuilderCache putAll(Double2ShortMap map)
map - that should be addedpublic Double2ShortMap.BuilderCache putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Short> map)
map - that should be addedpublic Double2ShortMap.BuilderCache putAll(ObjectIterable<Double2ShortMap.Entry> c)
c - that should be addedpublic Double2ShortOpenHashMap map()
public Double2ShortLinkedOpenHashMap linkedMap()
public ImmutableDouble2ShortOpenHashMap immutable()
public Double2ShortOpenCustomHashMap customMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2ShortLinkedOpenCustomHashMap customLinkedMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2ShortConcurrentOpenHashMap concurrentMap()
public Double2ShortArrayMap arrayMap()
public Double2ShortRBTreeMap rbTreeMap()
public Double2ShortRBTreeMap rbTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Treepublic Double2ShortAVLTreeMap avlTreeMap()
public Double2ShortAVLTreeMap avlTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Tree