public static class Short2ByteMap.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 |
|---|---|
Short2ByteArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Short2ByteAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Short2ByteAVLTreeMap |
avlTreeMap(ShortComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Short2ByteConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Short2ByteLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Short2ByteOpenCustomHashMap |
customMap(ShortStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableShort2ByteOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Short2ByteLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Short2ByteOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Short2ByteMap.BuilderCache |
put(Short2ByteMap.Entry entry)
Helper function to add a Entry into the Map
|
Short2ByteMap.BuilderCache |
put(short key,
byte value)
Helper function to add a Entry into the Map
|
Short2ByteMap.BuilderCache |
put(java.lang.Short key,
java.lang.Byte value)
Helper function to add a Entry into the Map
|
Short2ByteMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Byte> map)
Helper function to add a Map to the Map
|
Short2ByteMap.BuilderCache |
putAll(ObjectIterable<Short2ByteMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Short2ByteMap.BuilderCache |
putAll(Short2ByteMap map)
Helper function to add a Map to the Map
|
Short2ByteRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Short2ByteRBTreeMap |
rbTreeMap(ShortComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Short2ByteMap.BuilderCache put(short key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Short2ByteMap.BuilderCache put(java.lang.Short key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Short2ByteMap.BuilderCache put(Short2ByteMap.Entry entry)
entry - the Entry that should be addedpublic Short2ByteMap.BuilderCache putAll(Short2ByteMap map)
map - that should be addedpublic Short2ByteMap.BuilderCache putAll(java.util.Map<? extends java.lang.Short,? extends java.lang.Byte> map)
map - that should be addedpublic Short2ByteMap.BuilderCache putAll(ObjectIterable<Short2ByteMap.Entry> c)
c - that should be addedpublic Short2ByteOpenHashMap map()
public Short2ByteLinkedOpenHashMap linkedMap()
public ImmutableShort2ByteOpenHashMap immutable()
public Short2ByteOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2ByteLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the that controls the keys and valuespublic Short2ByteConcurrentOpenHashMap concurrentMap()
public Short2ByteArrayMap arrayMap()
public Short2ByteRBTreeMap rbTreeMap()
public Short2ByteRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Treepublic Short2ByteAVLTreeMap avlTreeMap()
public Short2ByteAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Comparator that sorts the Tree