V - the keyType of elements maintained by this Collectionpublic static class Byte2ObjectMap.BuilderCache<V>
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Byte2ObjectArrayMap<V> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Byte2ObjectAVLTreeMap<V> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Byte2ObjectAVLTreeMap<V> |
avlTreeMap(ByteComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Byte2ObjectConcurrentOpenHashMap<V> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Byte2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(ByteStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Byte2ObjectOpenCustomHashMap<V> |
customMap(ByteStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableByte2ObjectOpenHashMap<V> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Byte2ObjectLinkedOpenHashMap<V> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Byte2ObjectOpenHashMap<V> |
map()
Builds the Keys and Values into a Hash Map
|
Byte2ObjectMap.BuilderCache<V> |
put(Byte2ObjectMap.Entry<V> entry)
Helper function to add a Entry into the Map
|
Byte2ObjectMap.BuilderCache<V> |
put(byte key,
V value)
Helper function to add a Entry into the Map
|
Byte2ObjectMap.BuilderCache<V> |
put(java.lang.Byte key,
V value)
Helper function to add a Entry into the Map
|
Byte2ObjectMap.BuilderCache<V> |
putAll(Byte2ObjectMap<V> map)
Helper function to add a Map to the Map
|
Byte2ObjectMap.BuilderCache<V> |
putAll(java.util.Map<? extends java.lang.Byte,? extends V> map)
Helper function to add a Map to the Map
|
Byte2ObjectMap.BuilderCache<V> |
putAll(ObjectIterable<Byte2ObjectMap.Entry<V>> c)
Helper function to add a Collection of Entries to the Map
|
Byte2ObjectRBTreeMap<V> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Byte2ObjectRBTreeMap<V> |
rbTreeMap(ByteComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Byte2ObjectMap.BuilderCache<V> put(byte key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2ObjectMap.BuilderCache<V> put(java.lang.Byte key, V value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2ObjectMap.BuilderCache<V> put(Byte2ObjectMap.Entry<V> entry)
entry - the Entry that should be addedpublic Byte2ObjectMap.BuilderCache<V> putAll(Byte2ObjectMap<V> map)
map - that should be addedpublic Byte2ObjectMap.BuilderCache<V> putAll(java.util.Map<? extends java.lang.Byte,? extends V> map)
map - that should be addedpublic Byte2ObjectMap.BuilderCache<V> putAll(ObjectIterable<Byte2ObjectMap.Entry<V>> c)
c - that should be addedpublic Byte2ObjectOpenHashMap<V> map()
public Byte2ObjectLinkedOpenHashMap<V> linkedMap()
public ImmutableByte2ObjectOpenHashMap<V> immutable()
public Byte2ObjectOpenCustomHashMap<V> customMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(ByteStrategy strategy)
strategy - the that controls the keys and valuespublic Byte2ObjectConcurrentOpenHashMap<V> concurrentMap()
public Byte2ObjectArrayMap<V> arrayMap()
public Byte2ObjectRBTreeMap<V> rbTreeMap()
public Byte2ObjectRBTreeMap<V> rbTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Treepublic Byte2ObjectAVLTreeMap<V> avlTreeMap()
public Byte2ObjectAVLTreeMap<V> avlTreeMap(ByteComparator comp)
comp - the Comparator that sorts the Tree