public static class Byte2LongMap.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 |
|---|---|
Byte2LongArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Byte2LongAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Byte2LongAVLTreeMap |
avlTreeMap(ByteComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Byte2LongConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Byte2LongLinkedOpenCustomHashMap |
customLinkedMap(ByteStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Byte2LongOpenCustomHashMap |
customMap(ByteStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableByte2LongOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Byte2LongLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Byte2LongOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Byte2LongMap.BuilderCache |
put(Byte2LongMap.Entry entry)
Helper function to add a Entry into the Map
|
Byte2LongMap.BuilderCache |
put(byte key,
long value)
Helper function to add a Entry into the Map
|
Byte2LongMap.BuilderCache |
put(java.lang.Byte key,
java.lang.Long value)
Helper function to add a Entry into the Map
|
Byte2LongMap.BuilderCache |
putAll(Byte2LongMap map)
Helper function to add a Map to the Map
|
Byte2LongMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Byte,? extends java.lang.Long> map)
Helper function to add a Map to the Map
|
Byte2LongMap.BuilderCache |
putAll(ObjectIterable<Byte2LongMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Byte2LongRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Byte2LongRBTreeMap |
rbTreeMap(ByteComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Byte2LongMap.BuilderCache put(byte key, long value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2LongMap.BuilderCache put(java.lang.Byte key, java.lang.Long value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2LongMap.BuilderCache put(Byte2LongMap.Entry entry)
entry - the Entry that should be addedpublic Byte2LongMap.BuilderCache putAll(Byte2LongMap map)
map - that should be addedpublic Byte2LongMap.BuilderCache putAll(java.util.Map<? extends java.lang.Byte,? extends java.lang.Long> map)
map - that should be addedpublic Byte2LongMap.BuilderCache putAll(ObjectIterable<Byte2LongMap.Entry> c)
c - that should be addedpublic Byte2LongOpenHashMap map()
public Byte2LongLinkedOpenHashMap linkedMap()
public ImmutableByte2LongOpenHashMap immutable()
public Byte2LongOpenCustomHashMap customMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2LongLinkedOpenCustomHashMap customLinkedMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2LongConcurrentOpenHashMap concurrentMap()
public Byte2LongArrayMap arrayMap()
public Byte2LongRBTreeMap rbTreeMap()
public Byte2LongRBTreeMap rbTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Treepublic Byte2LongAVLTreeMap avlTreeMap()
public Byte2LongAVLTreeMap avlTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Tree