V - the type of elements maintained by this Collectionpublic static class Char2ObjectMap.BuilderCache<V>
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Char2ObjectArrayMap<V> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Char2ObjectAVLTreeMap<V> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Char2ObjectAVLTreeMap<V> |
avlTreeMap(CharComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Char2ObjectConcurrentOpenHashMap<V> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Char2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(CharStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Char2ObjectOpenCustomHashMap<V> |
customMap(CharStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableChar2ObjectOpenHashMap<V> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Char2ObjectLinkedOpenHashMap<V> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Char2ObjectOpenHashMap<V> |
map()
Builds the Keys and Values into a Hash Map
|
Char2ObjectMap.BuilderCache<V> |
put(Char2ObjectMap.Entry<V> entry)
Helper function to add a Entry into the Map
|
Char2ObjectMap.BuilderCache<V> |
put(java.lang.Character key,
V value)
Helper function to add a Entry into the Map
|
Char2ObjectMap.BuilderCache<V> |
put(char key,
V value)
Helper function to add a Entry into the Map
|
Char2ObjectMap.BuilderCache<V> |
putAll(Char2ObjectMap<V> map)
Helper function to add a Map to the Map
|
Char2ObjectMap.BuilderCache<V> |
putAll(java.util.Map<? extends java.lang.Character,? extends V> map)
Helper function to add a Map to the Map
|
Char2ObjectMap.BuilderCache<V> |
putAll(ObjectIterable<Char2ObjectMap.Entry<V>> c)
Helper function to add a Collection of Entries to the Map
|
Char2ObjectRBTreeMap<V> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Char2ObjectRBTreeMap<V> |
rbTreeMap(CharComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Char2ObjectMap.BuilderCache<V> put(char key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ObjectMap.BuilderCache<V> put(java.lang.Character key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ObjectMap.BuilderCache<V> put(Char2ObjectMap.Entry<V> entry)
entry - the Entry that should be addedpublic Char2ObjectMap.BuilderCache<V> putAll(Char2ObjectMap<V> map)
map - that should be addedpublic Char2ObjectMap.BuilderCache<V> putAll(java.util.Map<? extends java.lang.Character,? extends V> map)
map - that should be addedpublic Char2ObjectMap.BuilderCache<V> putAll(ObjectIterable<Char2ObjectMap.Entry<V>> c)
c - that should be addedpublic Char2ObjectOpenHashMap<V> map()
public Char2ObjectLinkedOpenHashMap<V> linkedMap()
public ImmutableChar2ObjectOpenHashMap<V> immutable()
public Char2ObjectOpenCustomHashMap<V> customMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(CharStrategy strategy)
strategy - the that controls the keys and valuespublic Char2ObjectConcurrentOpenHashMap<V> concurrentMap()
public Char2ObjectArrayMap<V> arrayMap()
public Char2ObjectRBTreeMap<V> rbTreeMap()
public Char2ObjectRBTreeMap<V> rbTreeMap(CharComparator comp)
comp - the Comparator that sorts the Treepublic Char2ObjectAVLTreeMap<V> avlTreeMap()
public Char2ObjectAVLTreeMap<V> avlTreeMap(CharComparator comp)
comp - the Comparator that sorts the Tree