public static class Int2CharMap.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 |
|---|---|
Int2CharArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Int2CharAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Int2CharAVLTreeMap |
avlTreeMap(IntComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Int2CharConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Int2CharLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Int2CharOpenCustomHashMap |
customMap(IntStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableInt2CharOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Int2CharLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Int2CharOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Int2CharMap.BuilderCache |
put(Int2CharMap.Entry entry)
Helper function to add a Entry into the Map
|
Int2CharMap.BuilderCache |
put(int key,
char value)
Helper function to add a Entry into the Map
|
Int2CharMap.BuilderCache |
put(java.lang.Integer key,
java.lang.Character value)
Helper function to add a Entry into the Map
|
Int2CharMap.BuilderCache |
putAll(Int2CharMap map)
Helper function to add a Map to the Map
|
Int2CharMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
Helper function to add a Map to the Map
|
Int2CharMap.BuilderCache |
putAll(ObjectIterable<Int2CharMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Int2CharRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Int2CharRBTreeMap |
rbTreeMap(IntComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Int2CharMap.BuilderCache put(int key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Int2CharMap.BuilderCache put(java.lang.Integer key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Int2CharMap.BuilderCache put(Int2CharMap.Entry entry)
entry - the Entry that should be addedpublic Int2CharMap.BuilderCache putAll(Int2CharMap map)
map - that should be addedpublic Int2CharMap.BuilderCache putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
map - that should be addedpublic Int2CharMap.BuilderCache putAll(ObjectIterable<Int2CharMap.Entry> c)
c - that should be addedpublic Int2CharOpenHashMap map()
public Int2CharLinkedOpenHashMap linkedMap()
public ImmutableInt2CharOpenHashMap immutable()
public Int2CharOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2CharLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2CharConcurrentOpenHashMap concurrentMap()
public Int2CharArrayMap arrayMap()
public Int2CharRBTreeMap rbTreeMap()
public Int2CharRBTreeMap rbTreeMap(IntComparator comp)
comp - the Comparator that sorts the Treepublic Int2CharAVLTreeMap avlTreeMap()
public Int2CharAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Comparator that sorts the Tree