public static class Long2ByteMap.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 |
|---|---|
Long2ByteArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Long2ByteAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Long2ByteAVLTreeMap |
avlTreeMap(LongComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Long2ByteConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Long2ByteLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Long2ByteOpenCustomHashMap |
customMap(LongStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableLong2ByteOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Long2ByteLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Long2ByteOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Long2ByteMap.BuilderCache |
put(Long2ByteMap.Entry entry)
Helper function to add a Entry into the Map
|
Long2ByteMap.BuilderCache |
put(long key,
byte value)
Helper function to add a Entry into the Map
|
Long2ByteMap.BuilderCache |
put(java.lang.Long key,
java.lang.Byte value)
Helper function to add a Entry into the Map
|
Long2ByteMap.BuilderCache |
putAll(Long2ByteMap map)
Helper function to add a Map to the Map
|
Long2ByteMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
Helper function to add a Map to the Map
|
Long2ByteMap.BuilderCache |
putAll(ObjectIterable<Long2ByteMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Long2ByteRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Long2ByteRBTreeMap |
rbTreeMap(LongComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Long2ByteMap.BuilderCache put(long key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Long2ByteMap.BuilderCache put(java.lang.Long key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Long2ByteMap.BuilderCache put(Long2ByteMap.Entry entry)
entry - the Entry that should be addedpublic Long2ByteMap.BuilderCache putAll(Long2ByteMap map)
map - that should be addedpublic Long2ByteMap.BuilderCache putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
map - that should be addedpublic Long2ByteMap.BuilderCache putAll(ObjectIterable<Long2ByteMap.Entry> c)
c - that should be addedpublic Long2ByteOpenHashMap map()
public Long2ByteLinkedOpenHashMap linkedMap()
public ImmutableLong2ByteOpenHashMap immutable()
public Long2ByteOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2ByteLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2ByteConcurrentOpenHashMap concurrentMap()
public Long2ByteArrayMap arrayMap()
public Long2ByteRBTreeMap rbTreeMap()
public Long2ByteRBTreeMap rbTreeMap(LongComparator comp)
comp - the Comparator that sorts the Treepublic Long2ByteAVLTreeMap avlTreeMap()
public Long2ByteAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Comparator that sorts the Tree