public static class Short2LongMap.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 |
|---|---|
Short2LongArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Short2LongAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Short2LongAVLTreeMap |
avlTreeMap(ShortComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Short2LongConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Short2LongLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Short2LongOpenCustomHashMap |
customMap(ShortStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableShort2LongOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Short2LongLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Short2LongOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Short2LongMap.BuilderCache |
put(Short2LongMap.Entry entry)
Helper function to add a Entry into the Map
|
Short2LongMap.BuilderCache |
put(short key,
long value)
Helper function to add a Entry into the Map
|
Short2LongMap.BuilderCache |
put(java.lang.Short key,
java.lang.Long value)
Helper function to add a Entry into the Map
|
Short2LongMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Long> map)
Helper function to add a Map to the Map
|
Short2LongMap.BuilderCache |
putAll(ObjectIterable<Short2LongMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Short2LongMap.BuilderCache |
putAll(Short2LongMap map)
Helper function to add a Map to the Map
|
Short2LongRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Short2LongRBTreeMap |
rbTreeMap(ShortComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Short2LongMap.BuilderCache put(short key, long value)
key - the key that should be addedvalue - the value that should be addedpublic Short2LongMap.BuilderCache put(java.lang.Short key, java.lang.Long value)
key - the key that should be addedvalue - the value that should be addedpublic Short2LongMap.BuilderCache put(Short2LongMap.Entry entry)
entry - the Entry that should be addedpublic Short2LongMap.BuilderCache putAll(Short2LongMap map)
map - that should be addedpublic Short2LongMap.BuilderCache putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Long> map)
map - that should be addedpublic Short2LongMap.BuilderCache putAll(ObjectIterable<Short2LongMap.Entry> c)
c - that should be addedpublic Short2LongOpenHashMap map()
public Short2LongLinkedOpenHashMap linkedMap()
public ImmutableShort2LongOpenHashMap immutable()
public Short2LongOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2LongLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2LongConcurrentOpenHashMap concurrentMap()
public Short2LongArrayMap arrayMap()
public Short2LongRBTreeMap rbTreeMap()
public Short2LongRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Treepublic Short2LongAVLTreeMap avlTreeMap()
public Short2LongAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Tree