public static class Char2IntMap.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 |
|---|---|
Char2IntArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Char2IntAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Char2IntAVLTreeMap |
avlTreeMap(CharComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Char2IntConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Char2IntLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Char2IntOpenCustomHashMap |
customMap(CharStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableChar2IntOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Char2IntLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Char2IntOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Char2IntMap.BuilderCache |
put(Char2IntMap.Entry entry)
Helper function to add a Entry into the Map
|
Char2IntMap.BuilderCache |
put(java.lang.Character key,
java.lang.Integer value)
Helper function to add a Entry into the Map
|
Char2IntMap.BuilderCache |
put(char key,
int value)
Helper function to add a Entry into the Map
|
Char2IntMap.BuilderCache |
putAll(Char2IntMap map)
Helper function to add a Map to the Map
|
Char2IntMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Integer> map)
Helper function to add a Map to the Map
|
Char2IntMap.BuilderCache |
putAll(ObjectIterable<Char2IntMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Char2IntRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Char2IntRBTreeMap |
rbTreeMap(CharComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Char2IntMap.BuilderCache put(char key, int value)
key - the key that should be addedvalue - the value that should be addedpublic Char2IntMap.BuilderCache put(java.lang.Character key, java.lang.Integer value)
key - the key that should be addedvalue - the value that should be addedpublic Char2IntMap.BuilderCache put(Char2IntMap.Entry entry)
entry - the Entry that should be addedpublic Char2IntMap.BuilderCache putAll(Char2IntMap map)
map - that should be addedpublic Char2IntMap.BuilderCache putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Integer> map)
map - that should be addedpublic Char2IntMap.BuilderCache putAll(ObjectIterable<Char2IntMap.Entry> c)
c - that should be addedpublic Char2IntOpenHashMap map()
public Char2IntLinkedOpenHashMap linkedMap()
public ImmutableChar2IntOpenHashMap immutable()
public Char2IntOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2IntLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2IntConcurrentOpenHashMap concurrentMap()
public Char2IntArrayMap arrayMap()
public Char2IntRBTreeMap rbTreeMap()
public Char2IntRBTreeMap rbTreeMap(CharComparator comp)
comp - the Comparator that sorts the Treepublic Char2IntAVLTreeMap avlTreeMap()
public Char2IntAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Comparator that sorts the Tree