public static class Double2ByteMap.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 |
|---|---|
Double2ByteArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Double2ByteAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Double2ByteAVLTreeMap |
avlTreeMap(DoubleComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Double2ByteConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Double2ByteLinkedOpenCustomHashMap |
customLinkedMap(DoubleStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Double2ByteOpenCustomHashMap |
customMap(DoubleStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableDouble2ByteOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Double2ByteLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Double2ByteOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Double2ByteMap.BuilderCache |
put(Double2ByteMap.Entry entry)
Helper function to add a Entry into the Map
|
Double2ByteMap.BuilderCache |
put(double key,
byte value)
Helper function to add a Entry into the Map
|
Double2ByteMap.BuilderCache |
put(java.lang.Double key,
java.lang.Byte value)
Helper function to add a Entry into the Map
|
Double2ByteMap.BuilderCache |
putAll(Double2ByteMap map)
Helper function to add a Map to the Map
|
Double2ByteMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Byte> map)
Helper function to add a Map to the Map
|
Double2ByteMap.BuilderCache |
putAll(ObjectIterable<Double2ByteMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Double2ByteRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Double2ByteRBTreeMap |
rbTreeMap(DoubleComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Double2ByteMap.BuilderCache put(double key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Double2ByteMap.BuilderCache put(java.lang.Double key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Double2ByteMap.BuilderCache put(Double2ByteMap.Entry entry)
entry - the Entry that should be addedpublic Double2ByteMap.BuilderCache putAll(Double2ByteMap map)
map - that should be addedpublic Double2ByteMap.BuilderCache putAll(java.util.Map<? extends java.lang.Double,? extends java.lang.Byte> map)
map - that should be addedpublic Double2ByteMap.BuilderCache putAll(ObjectIterable<Double2ByteMap.Entry> c)
c - that should be addedpublic Double2ByteOpenHashMap map()
public Double2ByteLinkedOpenHashMap linkedMap()
public ImmutableDouble2ByteOpenHashMap immutable()
public Double2ByteOpenCustomHashMap customMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2ByteLinkedOpenCustomHashMap customLinkedMap(DoubleStrategy strategy)
strategy - the that controls the keys and valuespublic Double2ByteConcurrentOpenHashMap concurrentMap()
public Double2ByteArrayMap arrayMap()
public Double2ByteRBTreeMap rbTreeMap()
public Double2ByteRBTreeMap rbTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Treepublic Double2ByteAVLTreeMap avlTreeMap()
public Double2ByteAVLTreeMap avlTreeMap(DoubleComparator comp)
comp - the Comparator that sorts the Tree