T - the type of elements maintained by this Collectionpublic static class Object2ByteMap.BuilderCache<T>
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Object2ByteArrayMap<T> |
arrayMap()
Builds the Keys and Values into a Array Map
|
Object2ByteAVLTreeMap<T> |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Object2ByteAVLTreeMap<T> |
avlTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a AVL TreeMap
|
Object2ByteConcurrentOpenHashMap<T> |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Object2ByteLinkedOpenCustomHashMap<T> |
customLinkedMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Object2ByteOpenCustomHashMap<T> |
customMap(ObjectStrategy<T> strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableObject2ByteOpenHashMap<T> |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Object2ByteLinkedOpenHashMap<T> |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Object2ByteOpenHashMap<T> |
map()
Builds the Keys and Values into a Hash Map
|
Object2ByteMap.BuilderCache<T> |
put(Object2ByteMap.Entry<T> entry)
Helper function to add a Entry into the Map
|
Object2ByteMap.BuilderCache<T> |
put(T key,
byte value)
Helper function to add a Entry into the Map
|
Object2ByteMap.BuilderCache<T> |
put(T key,
java.lang.Byte value)
Helper function to add a Entry into the Map
|
Object2ByteMap.BuilderCache<T> |
putAll(java.util.Map<? extends T,? extends java.lang.Byte> map)
Helper function to add a Map to the Map
|
Object2ByteMap.BuilderCache<T> |
putAll(Object2ByteMap<T> map)
Helper function to add a Map to the Map
|
Object2ByteMap.BuilderCache<T> |
putAll(ObjectIterable<Object2ByteMap.Entry<T>> c)
Helper function to add a Collection of Entries to the Map
|
Object2ByteRBTreeMap<T> |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Object2ByteRBTreeMap<T> |
rbTreeMap(java.util.Comparator<T> comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Object2ByteMap.BuilderCache<T> put(T key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Object2ByteMap.BuilderCache<T> put(T key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Object2ByteMap.BuilderCache<T> put(Object2ByteMap.Entry<T> entry)
entry - the Entry that should be addedpublic Object2ByteMap.BuilderCache<T> putAll(Object2ByteMap<T> map)
map - that should be addedpublic Object2ByteMap.BuilderCache<T> putAll(java.util.Map<? extends T,? extends java.lang.Byte> map)
map - that should be addedpublic Object2ByteMap.BuilderCache<T> putAll(ObjectIterable<Object2ByteMap.Entry<T>> c)
c - that should be addedpublic Object2ByteOpenHashMap<T> map()
public Object2ByteLinkedOpenHashMap<T> linkedMap()
public ImmutableObject2ByteOpenHashMap<T> immutable()
public Object2ByteOpenCustomHashMap<T> customMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2ByteLinkedOpenCustomHashMap<T> customLinkedMap(ObjectStrategy<T> strategy)
strategy - the that controls the keys and valuespublic Object2ByteConcurrentOpenHashMap<T> concurrentMap()
public Object2ByteArrayMap<T> arrayMap()
public Object2ByteRBTreeMap<T> rbTreeMap()
public Object2ByteRBTreeMap<T> rbTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Treepublic Object2ByteAVLTreeMap<T> avlTreeMap()
public Object2ByteAVLTreeMap<T> avlTreeMap(java.util.Comparator<T> comp)
comp - the Comparator that sorts the Tree