T - the type of elements maintained by this Collectionpublic static class Object2ShortMap.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 |
|---|---|
Object2ShortArrayMap<T> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Object2ShortAVLTreeMap<T> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Object2ShortAVLTreeMap<T> |
avlTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a AVL TreeMap
|
Object2ShortConcurrentOpenHashMap<T> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Object2ShortLinkedOpenCustomHashMap<T> |
customLinkedMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Object2ShortOpenCustomHashMap<T> |
customMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableObject2ShortOpenHashMap<T> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Object2ShortLinkedOpenHashMap<T> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Object2ShortOpenHashMap<T> |
map()
Builds the Keys and Values into a Hash Map
|
Object2ShortMap.BuilderCache<T> |
put(Object2ShortMap.Entry<T> entry)
Helper function to add a Entry into the Map
|
Object2ShortMap.BuilderCache<T> |
put(T key,
short value)
Helper function to add a Entry into the Map
|
Object2ShortMap.BuilderCache<T> |
put(T key,
java.lang.Short value)
Helper function to add a Entry into the Map
|
Object2ShortMap.BuilderCache<T> |
putAll(java.util.Map<? extends T,? extends java.lang.Short> map)
Helper function to add a Map to the Map
|
Object2ShortMap.BuilderCache<T> |
putAll(Object2ShortMap<T> map)
Helper function to add a Map to the Map
|
Object2ShortMap.BuilderCache<T> |
putAll(ObjectIterable<Object2ShortMap.Entry<T>> c)
Helper function to add a Collection of Entries to the Map
|
Object2ShortRBTreeMap<T> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Object2ShortRBTreeMap<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 Object2ShortMap.BuilderCache<T> put(T key, short value)
key - the key that should be addedvalue - the value that should be addedpublic Object2ShortMap.BuilderCache<T> put(T key, java.lang.Short value)
key - the key that should be addedvalue - the value that should be addedpublic Object2ShortMap.BuilderCache<T> put(Object2ShortMap.Entry<T> entry)
entry - the Entry that should be addedpublic Object2ShortMap.BuilderCache<T> putAll(Object2ShortMap<T> map)
map - that should be addedpublic Object2ShortMap.BuilderCache<T> putAll(java.util.Map<? extends T,? extends java.lang.Short> map)
map - that should be addedpublic Object2ShortMap.BuilderCache<T> putAll(ObjectIterable<Object2ShortMap.Entry<T>> c)
c - that should be addedpublic Object2ShortOpenHashMap<T> map()
public Object2ShortLinkedOpenHashMap<T> linkedMap()
public ImmutableObject2ShortOpenHashMap<T> immutable()
public Object2ShortOpenCustomHashMap<T> customMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2ShortLinkedOpenCustomHashMap<T> customLinkedMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2ShortConcurrentOpenHashMap<T> concurrentMap()
public Object2ShortArrayMap<T> arrayMap()
public Object2ShortRBTreeMap<T> rbTreeMap()
public Object2ShortRBTreeMap<T> rbTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Treepublic Object2ShortAVLTreeMap<T> avlTreeMap()
public Object2ShortAVLTreeMap<T> avlTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Tree