public static class Long2CharMap.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 |
|---|---|
Long2CharArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Long2CharAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Long2CharAVLTreeMap |
avlTreeMap(LongComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Long2CharConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Long2CharLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Long2CharOpenCustomHashMap |
customMap(LongStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableLong2CharOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Long2CharLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Long2CharOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Long2CharMap.BuilderCache |
put(Long2CharMap.Entry entry)
Helper function to add a Entry into the Map
|
Long2CharMap.BuilderCache |
put(long key,
char value)
Helper function to add a Entry into the Map
|
Long2CharMap.BuilderCache |
put(java.lang.Long key,
java.lang.Character value)
Helper function to add a Entry into the Map
|
Long2CharMap.BuilderCache |
putAll(Long2CharMap map)
Helper function to add a Map to the Map
|
Long2CharMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
Helper function to add a Map to the Map
|
Long2CharMap.BuilderCache |
putAll(ObjectIterable<Long2CharMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Long2CharRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Long2CharRBTreeMap |
rbTreeMap(LongComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Long2CharMap.BuilderCache put(long key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Long2CharMap.BuilderCache put(java.lang.Long key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Long2CharMap.BuilderCache put(Long2CharMap.Entry entry)
entry - the Entry that should be addedpublic Long2CharMap.BuilderCache putAll(Long2CharMap map)
map - that should be addedpublic Long2CharMap.BuilderCache putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
map - that should be addedpublic Long2CharMap.BuilderCache putAll(ObjectIterable<Long2CharMap.Entry> c)
c - that should be addedpublic Long2CharOpenHashMap map()
public Long2CharLinkedOpenHashMap linkedMap()
public ImmutableLong2CharOpenHashMap immutable()
public Long2CharOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2CharLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2CharConcurrentOpenHashMap concurrentMap()
public Long2CharArrayMap arrayMap()
public Long2CharRBTreeMap rbTreeMap()
public Long2CharRBTreeMap rbTreeMap(LongComparator comp)
comp - the Comparator that sorts the Treepublic Long2CharAVLTreeMap avlTreeMap()
public Long2CharAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Comparator that sorts the Tree