public static class Char2LongMap.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 |
|---|---|
Char2LongArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Char2LongAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Char2LongAVLTreeMap |
avlTreeMap(CharComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Char2LongConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Char2LongLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Char2LongOpenCustomHashMap |
customMap(CharStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableChar2LongOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Char2LongLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Char2LongOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Char2LongMap.BuilderCache |
put(Char2LongMap.Entry entry)
Helper function to add a Entry into the Map
|
Char2LongMap.BuilderCache |
put(java.lang.Character key,
java.lang.Long value)
Helper function to add a Entry into the Map
|
Char2LongMap.BuilderCache |
put(char key,
long value)
Helper function to add a Entry into the Map
|
Char2LongMap.BuilderCache |
putAll(Char2LongMap map)
Helper function to add a Map to the Map
|
Char2LongMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Long> map)
Helper function to add a Map to the Map
|
Char2LongMap.BuilderCache |
putAll(ObjectIterable<Char2LongMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Char2LongRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Char2LongRBTreeMap |
rbTreeMap(CharComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Char2LongMap.BuilderCache put(char key, long value)
key - the key that should be addedvalue - the value that should be addedpublic Char2LongMap.BuilderCache put(java.lang.Character key, java.lang.Long value)
key - the key that should be addedvalue - the value that should be addedpublic Char2LongMap.BuilderCache put(Char2LongMap.Entry entry)
entry - the Entry that should be addedpublic Char2LongMap.BuilderCache putAll(Char2LongMap map)
map - that should be addedpublic Char2LongMap.BuilderCache putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Long> map)
map - that should be addedpublic Char2LongMap.BuilderCache putAll(ObjectIterable<Char2LongMap.Entry> c)
c - that should be addedpublic Char2LongOpenHashMap map()
public Char2LongLinkedOpenHashMap linkedMap()
public ImmutableChar2LongOpenHashMap immutable()
public Char2LongOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2LongLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2LongConcurrentOpenHashMap concurrentMap()
public Char2LongArrayMap arrayMap()
public Char2LongRBTreeMap rbTreeMap()
public Char2LongRBTreeMap rbTreeMap(CharComparator comp)
comp - the Comparator that sorts the Treepublic Char2LongAVLTreeMap avlTreeMap()
public Char2LongAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Comparator that sorts the Tree