public static class Int2ByteMap.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 |
|---|---|
Int2ByteArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Int2ByteAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Int2ByteAVLTreeMap |
avlTreeMap(IntComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Int2ByteConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Int2ByteLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Int2ByteOpenCustomHashMap |
customMap(IntStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableInt2ByteOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Int2ByteLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Int2ByteOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Int2ByteMap.BuilderCache |
put(Int2ByteMap.Entry entry)
Helper function to add a Entry into the Map
|
Int2ByteMap.BuilderCache |
put(int key,
byte value)
Helper function to add a Entry into the Map
|
Int2ByteMap.BuilderCache |
put(java.lang.Integer key,
java.lang.Byte value)
Helper function to add a Entry into the Map
|
Int2ByteMap.BuilderCache |
putAll(Int2ByteMap map)
Helper function to add a Map to the Map
|
Int2ByteMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
Helper function to add a Map to the Map
|
Int2ByteMap.BuilderCache |
putAll(ObjectIterable<Int2ByteMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Int2ByteRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Int2ByteRBTreeMap |
rbTreeMap(IntComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Int2ByteMap.BuilderCache put(int key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Int2ByteMap.BuilderCache put(java.lang.Integer key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Int2ByteMap.BuilderCache put(Int2ByteMap.Entry entry)
entry - the Entry that should be addedpublic Int2ByteMap.BuilderCache putAll(Int2ByteMap map)
map - that should be addedpublic Int2ByteMap.BuilderCache putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
map - that should be addedpublic Int2ByteMap.BuilderCache putAll(ObjectIterable<Int2ByteMap.Entry> c)
c - that should be addedpublic Int2ByteOpenHashMap map()
public Int2ByteLinkedOpenHashMap linkedMap()
public ImmutableInt2ByteOpenHashMap immutable()
public Int2ByteOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2ByteLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2ByteConcurrentOpenHashMap concurrentMap()
public Int2ByteArrayMap arrayMap()
public Int2ByteRBTreeMap rbTreeMap()
public Int2ByteRBTreeMap rbTreeMap(IntComparator comp)
comp - the Comparator that sorts the Treepublic Int2ByteAVLTreeMap avlTreeMap()
public Int2ByteAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Comparator that sorts the Tree