public static class Long2DoubleMap.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 |
|---|---|
Long2DoubleArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Long2DoubleAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Long2DoubleAVLTreeMap |
avlTreeMap(LongComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Long2DoubleConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Long2DoubleLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Long2DoubleOpenCustomHashMap |
customMap(LongStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableLong2DoubleOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Long2DoubleLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Long2DoubleOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Long2DoubleMap.BuilderCache |
put(Long2DoubleMap.Entry entry)
Helper function to add a Entry into the Map
|
Long2DoubleMap.BuilderCache |
put(long key,
double value)
Helper function to add a Entry into the Map
|
Long2DoubleMap.BuilderCache |
put(java.lang.Long key,
java.lang.Double value)
Helper function to add a Entry into the Map
|
Long2DoubleMap.BuilderCache |
putAll(Long2DoubleMap map)
Helper function to add a Map to the Map
|
Long2DoubleMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Double> map)
Helper function to add a Map to the Map
|
Long2DoubleMap.BuilderCache |
putAll(ObjectIterable<Long2DoubleMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Long2DoubleRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Long2DoubleRBTreeMap |
rbTreeMap(LongComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Long2DoubleMap.BuilderCache put(long key, double value)
key - the key that should be addedvalue - the value that should be addedpublic Long2DoubleMap.BuilderCache put(java.lang.Long key, java.lang.Double value)
key - the key that should be addedvalue - the value that should be addedpublic Long2DoubleMap.BuilderCache put(Long2DoubleMap.Entry entry)
entry - the Entry that should be addedpublic Long2DoubleMap.BuilderCache putAll(Long2DoubleMap map)
map - that should be addedpublic Long2DoubleMap.BuilderCache putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Double> map)
map - that should be addedpublic Long2DoubleMap.BuilderCache putAll(ObjectIterable<Long2DoubleMap.Entry> c)
c - that should be addedpublic Long2DoubleOpenHashMap map()
public Long2DoubleLinkedOpenHashMap linkedMap()
public ImmutableLong2DoubleOpenHashMap immutable()
public Long2DoubleOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2DoubleLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2DoubleConcurrentOpenHashMap concurrentMap()
public Long2DoubleArrayMap arrayMap()
public Long2DoubleRBTreeMap rbTreeMap()
public Long2DoubleRBTreeMap rbTreeMap(LongComparator comp)
comp - the Comparator that sorts the Treepublic Long2DoubleAVLTreeMap avlTreeMap()
public Long2DoubleAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Comparator that sorts the Tree