public static class Char2DoubleMap.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 |
|---|---|
Char2DoubleArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Char2DoubleAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Char2DoubleAVLTreeMap |
avlTreeMap(CharComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Char2DoubleConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Char2DoubleLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Char2DoubleOpenCustomHashMap |
customMap(CharStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableChar2DoubleOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Char2DoubleLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Char2DoubleOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Char2DoubleMap.BuilderCache |
put(Char2DoubleMap.Entry entry)
Helper function to add a Entry into the Map
|
Char2DoubleMap.BuilderCache |
put(java.lang.Character key,
java.lang.Double value)
Helper function to add a Entry into the Map
|
Char2DoubleMap.BuilderCache |
put(char key,
double value)
Helper function to add a Entry into the Map
|
Char2DoubleMap.BuilderCache |
putAll(Char2DoubleMap map)
Helper function to add a Map to the Map
|
Char2DoubleMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
Helper function to add a Map to the Map
|
Char2DoubleMap.BuilderCache |
putAll(ObjectIterable<Char2DoubleMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Char2DoubleRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Char2DoubleRBTreeMap |
rbTreeMap(CharComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Char2DoubleMap.BuilderCache put(char key, double value)
key - the key that should be addedvalue - the value that should be addedpublic Char2DoubleMap.BuilderCache put(java.lang.Character key, java.lang.Double value)
key - the key that should be addedvalue - the value that should be addedpublic Char2DoubleMap.BuilderCache put(Char2DoubleMap.Entry entry)
entry - the Entry that should be addedpublic Char2DoubleMap.BuilderCache putAll(Char2DoubleMap map)
map - that should be addedpublic Char2DoubleMap.BuilderCache putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
map - that should be addedpublic Char2DoubleMap.BuilderCache putAll(ObjectIterable<Char2DoubleMap.Entry> c)
c - that should be addedpublic Char2DoubleOpenHashMap map()
public Char2DoubleLinkedOpenHashMap linkedMap()
public ImmutableChar2DoubleOpenHashMap immutable()
public Char2DoubleOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2DoubleLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2DoubleConcurrentOpenHashMap concurrentMap()
public Char2DoubleArrayMap arrayMap()
public Char2DoubleRBTreeMap rbTreeMap()
public Char2DoubleRBTreeMap rbTreeMap(CharComparator comp)
comp - the Comparator that sorts the Treepublic Char2DoubleAVLTreeMap avlTreeMap()
public Char2DoubleAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Comparator that sorts the Tree