public static class Int2LongMap.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 |
|---|---|
Int2LongArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Int2LongAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Int2LongAVLTreeMap |
avlTreeMap(IntComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Int2LongConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Int2LongLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Int2LongOpenCustomHashMap |
customMap(IntStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableInt2LongOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Int2LongLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Int2LongOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Int2LongMap.BuilderCache |
put(Int2LongMap.Entry entry)
Helper function to add a Entry into the Map
|
Int2LongMap.BuilderCache |
put(java.lang.Integer key,
java.lang.Long value)
Helper function to add a Entry into the Map
|
Int2LongMap.BuilderCache |
put(int key,
long value)
Helper function to add a Entry into the Map
|
Int2LongMap.BuilderCache |
putAll(Int2LongMap map)
Helper function to add a Map to the Map
|
Int2LongMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Long> map)
Helper function to add a Map to the Map
|
Int2LongMap.BuilderCache |
putAll(ObjectIterable<Int2LongMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Int2LongRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Int2LongRBTreeMap |
rbTreeMap(IntComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Int2LongMap.BuilderCache put(int key, long value)
key - the key that should be addedvalue - the value that should be addedpublic Int2LongMap.BuilderCache put(java.lang.Integer key, java.lang.Long value)
key - the key that should be addedvalue - the value that should be addedpublic Int2LongMap.BuilderCache put(Int2LongMap.Entry entry)
entry - the Entry that should be addedpublic Int2LongMap.BuilderCache putAll(Int2LongMap map)
map - that should be addedpublic Int2LongMap.BuilderCache putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Long> map)
map - that should be addedpublic Int2LongMap.BuilderCache putAll(ObjectIterable<Int2LongMap.Entry> c)
c - that should be addedpublic Int2LongOpenHashMap map()
public Int2LongLinkedOpenHashMap linkedMap()
public ImmutableInt2LongOpenHashMap immutable()
public Int2LongOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2LongLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2LongConcurrentOpenHashMap concurrentMap()
public Int2LongArrayMap arrayMap()
public Int2LongRBTreeMap rbTreeMap()
public Int2LongRBTreeMap rbTreeMap(IntComparator comp)
comp - the Comparator that sorts the Treepublic Int2LongAVLTreeMap avlTreeMap()
public Int2LongAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Comparator that sorts the Tree