public static class Byte2ShortMap.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 |
|---|---|
Byte2ShortArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Byte2ShortAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Byte2ShortAVLTreeMap |
avlTreeMap(ByteComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Byte2ShortConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Byte2ShortLinkedOpenCustomHashMap |
customLinkedMap(ByteStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Byte2ShortOpenCustomHashMap |
customMap(ByteStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableByte2ShortOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Byte2ShortLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Byte2ShortOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Byte2ShortMap.BuilderCache |
put(Byte2ShortMap.Entry entry)
Helper function to add a Entry into the Map
|
Byte2ShortMap.BuilderCache |
put(byte key,
short value)
Helper function to add a Entry into the Map
|
Byte2ShortMap.BuilderCache |
put(java.lang.Byte key,
java.lang.Short value)
Helper function to add a Entry into the Map
|
Byte2ShortMap.BuilderCache |
putAll(Byte2ShortMap map)
Helper function to add a Map to the Map
|
Byte2ShortMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Byte,? extends java.lang.Short> map)
Helper function to add a Map to the Map
|
Byte2ShortMap.BuilderCache |
putAll(ObjectIterable<Byte2ShortMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Byte2ShortRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Byte2ShortRBTreeMap |
rbTreeMap(ByteComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Byte2ShortMap.BuilderCache put(byte key, short value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2ShortMap.BuilderCache put(java.lang.Byte key, java.lang.Short value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2ShortMap.BuilderCache put(Byte2ShortMap.Entry entry)
entry - the Entry that should be addedpublic Byte2ShortMap.BuilderCache putAll(Byte2ShortMap map)
map - that should be addedpublic Byte2ShortMap.BuilderCache putAll(java.util.Map<? extends java.lang.Byte,? extends java.lang.Short> map)
map - that should be addedpublic Byte2ShortMap.BuilderCache putAll(ObjectIterable<Byte2ShortMap.Entry> c)
c - that should be addedpublic Byte2ShortOpenHashMap map()
public Byte2ShortLinkedOpenHashMap linkedMap()
public ImmutableByte2ShortOpenHashMap immutable()
public Byte2ShortOpenCustomHashMap customMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2ShortLinkedOpenCustomHashMap customLinkedMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2ShortConcurrentOpenHashMap concurrentMap()
public Byte2ShortArrayMap arrayMap()
public Byte2ShortRBTreeMap rbTreeMap()
public Byte2ShortRBTreeMap rbTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Treepublic Byte2ShortAVLTreeMap avlTreeMap()
public Byte2ShortAVLTreeMap avlTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Tree