public static final class Char2CharMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Char2CharArrayMap |
arrayMap()
Helper function to unify code
|
Char2CharArrayMap |
arrayMap(char[] keys,
char[] values)
Helper function to unify code
|
Char2CharArrayMap |
arrayMap(Char2CharMap map)
Helper function to unify code
|
Char2CharArrayMap |
arrayMap(java.lang.Character[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Char2CharArrayMap |
arrayMap(int size)
Helper function to unify code
|
Char2CharArrayMap |
arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
Helper function to unify code
|
Char2CharAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Char2CharAVLTreeMap |
avlTreeMap(char[] keys,
char[] values,
CharComparator comp)
Helper function to unify code
|
Char2CharAVLTreeMap |
avlTreeMap(Char2CharMap map,
CharComparator comp)
Helper function to unify code
|
Char2CharAVLTreeMap |
avlTreeMap(java.lang.Character[] keys,
java.lang.Character[] values,
CharComparator comp)
Helper function to unify code
|
Char2CharAVLTreeMap |
avlTreeMap(CharComparator comp)
Helper function to unify code
|
Char2CharAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map,
CharComparator comp)
Helper function to unify code
|
Char2CharLinkedOpenCustomHashMap |
customLinkedMap(char[] keys,
char[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2CharLinkedOpenCustomHashMap |
customLinkedMap(Char2CharMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2CharLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Character[] keys,
java.lang.Character[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2CharLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Helper function to unify code
|
Char2CharLinkedOpenCustomHashMap |
customLinkedMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2CharLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map,
CharStrategy strategy)
Helper function to unify code
|
Char2CharOpenCustomHashMap |
customMap(char[] keys,
char[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2CharOpenCustomHashMap |
customMap(Char2CharMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2CharOpenCustomHashMap |
customMap(java.lang.Character[] keys,
java.lang.Character[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2CharOpenCustomHashMap |
customMap(CharStrategy strategy)
Helper function to unify code
|
Char2CharOpenCustomHashMap |
customMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2CharOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map,
CharStrategy strategy)
Helper function to unify code
|
ImmutableChar2CharOpenHashMap |
immutable(char[] keys,
char[] values)
Helper function to unify code
|
ImmutableChar2CharOpenHashMap |
immutable(Char2CharMap map)
Helper function to unify code
|
ImmutableChar2CharOpenHashMap |
immutable(java.lang.Character[] keys,
java.lang.Character[] values)
Helper function to unify code
|
ImmutableChar2CharOpenHashMap |
immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
Helper function to unify code
|
Char2CharLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Char2CharLinkedOpenHashMap |
linkedMap(char[] keys,
char[] values)
Helper function to unify code
|
Char2CharLinkedOpenHashMap |
linkedMap(Char2CharMap map)
Helper function to unify code
|
Char2CharLinkedOpenHashMap |
linkedMap(java.lang.Character[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Char2CharLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableChar2CharOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
Helper function to unify code
|
Char2CharOpenHashMap |
map()
Helper function to unify code
|
Char2CharOpenHashMap |
map(char[] keys,
char[] values)
Helper function to unify code
|
Char2CharOpenHashMap |
map(Char2CharMap map)
Helper function to unify code
|
Char2CharOpenHashMap |
map(java.lang.Character[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Char2CharOpenHashMap |
map(int size)
Helper function to unify code
|
Char2CharOpenHashMap |
map(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
Helper function to unify code
|
Char2CharMap.BuilderCache |
put(java.lang.Character key,
java.lang.Character value)
Starts a Map builder and puts in the Key and Value into it
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
Char2CharMap.BuilderCache |
put(char key,
char value)
Starts a Map builder and puts in the Key and Value into it
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
Char2CharRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Char2CharRBTreeMap |
rbTreeMap(char[] keys,
char[] values,
CharComparator comp)
Helper function to unify code
|
Char2CharRBTreeMap |
rbTreeMap(Char2CharMap map,
CharComparator comp)
Helper function to unify code
|
Char2CharRBTreeMap |
rbTreeMap(java.lang.Character[] keys,
java.lang.Character[] values,
CharComparator comp)
Helper function to unify code
|
Char2CharRBTreeMap |
rbTreeMap(CharComparator comp)
Helper function to unify code
|
Char2CharRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map,
CharComparator comp)
Helper function to unify code
|
Char2CharMap.BuilderCache |
start()
Starts a Map Builder that allows you to create maps as Constants a lot easier
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
Char2CharMap.BuilderCache |
start(int size)
Starts a Map Builder that allows you to create maps as Constants a lot easier
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
public Char2CharMap.BuilderCache start()
public Char2CharMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Char2CharMap.BuilderCache put(char key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Char2CharMap.BuilderCache put(java.lang.Character key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Char2CharOpenHashMap map()
public Char2CharOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Char2CharOpenHashMap map(char[] keys, char[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharOpenHashMap map(java.lang.Character[] keys, java.lang.Character[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharOpenHashMap map(Char2CharMap map)
map - that should be clonedpublic Char2CharOpenHashMap map(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
map - that should be clonedpublic Char2CharLinkedOpenHashMap linkedMap()
public Char2CharLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Char2CharLinkedOpenHashMap linkedMap(char[] keys, char[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharLinkedOpenHashMap linkedMap(java.lang.Character[] keys, java.lang.Character[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharLinkedOpenHashMap linkedMap(Char2CharMap map)
map - that should be clonedpublic ImmutableChar2CharOpenHashMap linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
map - that should be clonedpublic ImmutableChar2CharOpenHashMap immutable(char[] keys, char[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic ImmutableChar2CharOpenHashMap immutable(java.lang.Character[] keys, java.lang.Character[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic ImmutableChar2CharOpenHashMap immutable(Char2CharMap map)
map - that should be clonedpublic ImmutableChar2CharOpenHashMap immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
map - that should be clonedpublic Char2CharOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2CharOpenCustomHashMap customMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2CharOpenCustomHashMap customMap(char[] keys, char[] values, CharStrategy strategy)
keys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharOpenCustomHashMap customMap(java.lang.Character[] keys, java.lang.Character[] values, CharStrategy strategy)
keys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharOpenCustomHashMap customMap(Char2CharMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2CharOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2CharLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2CharLinkedOpenCustomHashMap customLinkedMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2CharLinkedOpenCustomHashMap customLinkedMap(char[] keys, char[] values, CharStrategy strategy)
keys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharLinkedOpenCustomHashMap customLinkedMap(java.lang.Character[] keys, java.lang.Character[] values, CharStrategy strategy)
keys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharLinkedOpenCustomHashMap customLinkedMap(Char2CharMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2CharLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2CharArrayMap arrayMap()
public Char2CharArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Char2CharArrayMap arrayMap(char[] keys, char[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharArrayMap arrayMap(java.lang.Character[] keys, java.lang.Character[] values)
keys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharArrayMap arrayMap(Char2CharMap map)
map - that should be clonedpublic Char2CharArrayMap arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map)
map - that should be clonedpublic Char2CharRBTreeMap rbTreeMap()
public Char2CharRBTreeMap rbTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2CharRBTreeMap rbTreeMap(char[] keys, char[] values, CharComparator comp)
keys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharRBTreeMap rbTreeMap(java.lang.Character[] keys, java.lang.Character[] values, CharComparator comp)
keys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharRBTreeMap rbTreeMap(Char2CharMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2CharRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2CharAVLTreeMap avlTreeMap()
public Char2CharAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2CharAVLTreeMap avlTreeMap(char[] keys, char[] values, CharComparator comp)
keys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharAVLTreeMap avlTreeMap(java.lang.Character[] keys, java.lang.Character[] values, CharComparator comp)
keys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic Char2CharAVLTreeMap avlTreeMap(Char2CharMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2CharAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Character> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap