public static class Byte2ByteMap.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 |
|---|---|
Byte2ByteArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Byte2ByteAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Byte2ByteAVLTreeMap |
avlTreeMap(ByteComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Byte2ByteConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Byte2ByteLinkedOpenCustomHashMap |
customLinkedMap(ByteStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Byte2ByteOpenCustomHashMap |
customMap(ByteStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableByte2ByteOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Byte2ByteLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Byte2ByteOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Byte2ByteMap.BuilderCache |
put(Byte2ByteMap.Entry entry)
Helper function to add a Entry into the Map
|
Byte2ByteMap.BuilderCache |
put(byte key,
byte value)
Helper function to add a Entry into the Map
|
Byte2ByteMap.BuilderCache |
put(java.lang.Byte key,
java.lang.Byte value)
Helper function to add a Entry into the Map
|
Byte2ByteMap.BuilderCache |
putAll(Byte2ByteMap map)
Helper function to add a Map to the Map
|
Byte2ByteMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Byte,? extends java.lang.Byte> map)
Helper function to add a Map to the Map
|
Byte2ByteMap.BuilderCache |
putAll(ObjectIterable<Byte2ByteMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Byte2ByteRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Byte2ByteRBTreeMap |
rbTreeMap(ByteComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Byte2ByteMap.BuilderCache put(byte key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2ByteMap.BuilderCache put(java.lang.Byte key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2ByteMap.BuilderCache put(Byte2ByteMap.Entry entry)
entry - the Entry that should be addedpublic Byte2ByteMap.BuilderCache putAll(Byte2ByteMap map)
map - that should be addedpublic Byte2ByteMap.BuilderCache putAll(java.util.Map<? extends java.lang.Byte,? extends java.lang.Byte> map)
map - that should be addedpublic Byte2ByteMap.BuilderCache putAll(ObjectIterable<Byte2ByteMap.Entry> c)
c - that should be addedpublic Byte2ByteOpenHashMap map()
public Byte2ByteLinkedOpenHashMap linkedMap()
public ImmutableByte2ByteOpenHashMap immutable()
public Byte2ByteOpenCustomHashMap customMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2ByteLinkedOpenCustomHashMap customLinkedMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2ByteConcurrentOpenHashMap concurrentMap()
public Byte2ByteArrayMap arrayMap()
public Byte2ByteRBTreeMap rbTreeMap()
public Byte2ByteRBTreeMap rbTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Treepublic Byte2ByteAVLTreeMap avlTreeMap()
public Byte2ByteAVLTreeMap avlTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Tree