public static class Char2ShortMap.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 |
|---|---|
Char2ShortArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Char2ShortAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Char2ShortAVLTreeMap |
avlTreeMap(CharComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Char2ShortConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Char2ShortLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Char2ShortOpenCustomHashMap |
customMap(CharStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableChar2ShortOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Char2ShortLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Char2ShortOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Char2ShortMap.BuilderCache |
put(Char2ShortMap.Entry entry)
Helper function to add a Entry into the Map
|
Char2ShortMap.BuilderCache |
put(java.lang.Character key,
java.lang.Short value)
Helper function to add a Entry into the Map
|
Char2ShortMap.BuilderCache |
put(char key,
short value)
Helper function to add a Entry into the Map
|
Char2ShortMap.BuilderCache |
putAll(Char2ShortMap map)
Helper function to add a Map to the Map
|
Char2ShortMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
Helper function to add a Map to the Map
|
Char2ShortMap.BuilderCache |
putAll(ObjectIterable<Char2ShortMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Char2ShortRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Char2ShortRBTreeMap |
rbTreeMap(CharComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Char2ShortMap.BuilderCache put(char key, short value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ShortMap.BuilderCache put(java.lang.Character key, java.lang.Short value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ShortMap.BuilderCache put(Char2ShortMap.Entry entry)
entry - the Entry that should be addedpublic Char2ShortMap.BuilderCache putAll(Char2ShortMap map)
map - that should be addedpublic Char2ShortMap.BuilderCache putAll(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
map - that should be addedpublic Char2ShortMap.BuilderCache putAll(ObjectIterable<Char2ShortMap.Entry> c)
c - that should be addedpublic Char2ShortOpenHashMap map()
public Char2ShortLinkedOpenHashMap linkedMap()
public ImmutableChar2ShortOpenHashMap immutable()
public Char2ShortOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2ShortLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2ShortConcurrentOpenHashMap concurrentMap()
public Char2ShortArrayMap arrayMap()
public Char2ShortRBTreeMap rbTreeMap()
public Char2ShortRBTreeMap rbTreeMap(CharComparator comp)
comp - the Comparator that sorts the Treepublic Char2ShortAVLTreeMap avlTreeMap()
public Char2ShortAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Comparator that sorts the Tree