public static class Double2LongMap.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 |
|---|---|
Double2LongArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Double2LongAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Double2LongAVLTreeMap |
avlTreeMap(DoubleComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Double2LongConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Double2LongLinkedOpenCustomHashMap |
customLinkedMap(DoubleStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Double2LongOpenCustomHashMap |
customMap(DoubleStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableDouble2LongOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Double2LongLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Double2LongOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Double2LongMap.BuilderCache |
put(Double2LongMap.Entry entry)
Helper function to add a Entry into the Map
|
Double2LongMap.BuilderCache |
put(double key,
long value)
Helper function to add a Entry into the Map
|
Double2LongMap.BuilderCache |
put(java.lang.Double key,
java.lang.Long value)
Helper function to add a Entry into the Map
|
Double2LongMap.BuilderCache |
putAll(Double2LongMap map)
Helper function to add a Map to the Map
|
Double2LongMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
Helper function to add a Map to the Map
|
Double2LongMap.BuilderCache |
putAll(ObjectIterable<Double2LongMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Double2LongRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Double2LongRBTreeMap |
rbTreeMap(DoubleComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Double2LongMap.BuilderCache put(double key, long value)
key - the key that should be addedvalue - the value that should be addedpublic Double2LongMap.BuilderCache put(java.lang.Double key, java.lang.Long value)
key - the key that should be addedvalue - the value that should be addedpublic Double2LongMap.BuilderCache put(Double2LongMap.Entry entry)
entry - the Entry that should be addedpublic Double2LongMap.BuilderCache putAll(Double2LongMap map)
map - that should be addedpublic Double2LongMap.BuilderCache putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
map - that should be addedpublic Double2LongMap.BuilderCache putAll(ObjectIterable<Double2LongMap.Entry> c)
c - that should be addedpublic Double2LongOpenHashMap map()
public Double2LongLinkedOpenHashMap linkedMap()
public ImmutableDouble2LongOpenHashMap immutable()
public Double2LongOpenCustomHashMap customMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2LongLinkedOpenCustomHashMap customLinkedMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2LongConcurrentOpenHashMap concurrentMap()
public Double2LongArrayMap arrayMap()
public Double2LongRBTreeMap rbTreeMap()
public Double2LongRBTreeMap rbTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Treepublic Double2LongAVLTreeMap avlTreeMap()
public Double2LongAVLTreeMap avlTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Tree