T - the keyType of elements maintained by this Collectionpublic static class Object2CharMap.BuilderCache<T>
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Object2CharArrayMap<T> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Object2CharAVLTreeMap<T> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Object2CharAVLTreeMap<T> |
avlTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a AVL TreeMap
|
Object2CharConcurrentOpenHashMap<T> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Object2CharLinkedOpenCustomHashMap<T> |
customLinkedMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Object2CharOpenCustomHashMap<T> |
customMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableObject2CharOpenHashMap<T> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Object2CharLinkedOpenHashMap<T> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Object2CharOpenHashMap<T> |
map()
Builds the Keys and Values into a Hash Map
|
Object2CharMap.BuilderCache<T> |
put(Object2CharMap.Entry<T> entry)
Helper function to add a Entry into the Map
|
Object2CharMap.BuilderCache<T> |
put(T key,
char value)
Helper function to add a Entry into the Map
|
Object2CharMap.BuilderCache<T> |
put(T key,
java.lang.Character value)
Helper function to add a Entry into the Map
|
Object2CharMap.BuilderCache<T> |
putAll(java.util.Map<? extends T,? extends java.lang.Character> map)
Helper function to add a Map to the Map
|
Object2CharMap.BuilderCache<T> |
putAll(Object2CharMap<T> map)
Helper function to add a Map to the Map
|
Object2CharMap.BuilderCache<T> |
putAll(ObjectIterable<Object2CharMap.Entry<T>> c)
Helper function to add a Collection of Entries to the Map
|
Object2CharRBTreeMap<T> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Object2CharRBTreeMap<T> |
rbTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Object2CharMap.BuilderCache<T> put(T key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Object2CharMap.BuilderCache<T> put(T key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Object2CharMap.BuilderCache<T> put(Object2CharMap.Entry<T> entry)
entry - the Entry that should be addedpublic Object2CharMap.BuilderCache<T> putAll(Object2CharMap<T> map)
map - that should be addedpublic Object2CharMap.BuilderCache<T> putAll(java.util.Map<? extends T,? extends java.lang.Character> map)
map - that should be addedpublic Object2CharMap.BuilderCache<T> putAll(ObjectIterable<Object2CharMap.Entry<T>> c)
c - that should be addedpublic Object2CharOpenHashMap<T> map()
public Object2CharLinkedOpenHashMap<T> linkedMap()
public ImmutableObject2CharOpenHashMap<T> immutable()
public Object2CharOpenCustomHashMap<T> customMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2CharLinkedOpenCustomHashMap<T> customLinkedMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2CharConcurrentOpenHashMap<T> concurrentMap()
public Object2CharArrayMap<T> arrayMap()
public Object2CharRBTreeMap<T> rbTreeMap()
public Object2CharRBTreeMap<T> rbTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Treepublic Object2CharAVLTreeMap<T> avlTreeMap()
public Object2CharAVLTreeMap<T> avlTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Tree