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