public static class Short2ShortMap.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 |
|---|---|
Short2ShortArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Short2ShortAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Short2ShortAVLTreeMap |
avlTreeMap(ShortComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Short2ShortConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Short2ShortLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Short2ShortOpenCustomHashMap |
customMap(ShortStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableShort2ShortOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Short2ShortLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Short2ShortOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Short2ShortMap.BuilderCache |
put(Short2ShortMap.Entry entry)
Helper function to add a Entry into the Map
|
Short2ShortMap.BuilderCache |
put(short key,
short value)
Helper function to add a Entry into the Map
|
Short2ShortMap.BuilderCache |
put(java.lang.Short key,
java.lang.Short value)
Helper function to add a Entry into the Map
|
Short2ShortMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Short> map)
Helper function to add a Map to the Map
|
Short2ShortMap.BuilderCache |
putAll(ObjectIterable<Short2ShortMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Short2ShortMap.BuilderCache |
putAll(Short2ShortMap map)
Helper function to add a Map to the Map
|
Short2ShortRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Short2ShortRBTreeMap |
rbTreeMap(ShortComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Short2ShortMap.BuilderCache put(short key, short value)
key - the key that should be addedvalue - the value that should be addedpublic Short2ShortMap.BuilderCache put(java.lang.Short key, java.lang.Short value)
key - the key that should be addedvalue - the value that should be addedpublic Short2ShortMap.BuilderCache put(Short2ShortMap.Entry entry)
entry - the Entry that should be addedpublic Short2ShortMap.BuilderCache putAll(Short2ShortMap map)
map - that should be addedpublic Short2ShortMap.BuilderCache putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Short> map)
map - that should be addedpublic Short2ShortMap.BuilderCache putAll(ObjectIterable<Short2ShortMap.Entry> c)
c - that should be addedpublic Short2ShortOpenHashMap map()
public Short2ShortLinkedOpenHashMap linkedMap()
public ImmutableShort2ShortOpenHashMap immutable()
public Short2ShortOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2ShortLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2ShortConcurrentOpenHashMap concurrentMap()
public Short2ShortArrayMap arrayMap()
public Short2ShortRBTreeMap rbTreeMap()
public Short2ShortRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Treepublic Short2ShortAVLTreeMap avlTreeMap()
public Short2ShortAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Tree