public static final class Int2CharMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Int2CharArrayMap |
arrayMap()
Helper function to unify code
|
Int2CharArrayMap |
arrayMap(int size)
Helper function to unify code
|
Int2CharArrayMap |
arrayMap(int[] keys,
char[] values)
Helper function to unify code
|
Int2CharArrayMap |
arrayMap(Int2CharMap map)
Helper function to unify code
|
Int2CharArrayMap |
arrayMap(java.lang.Integer[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Int2CharArrayMap |
arrayMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
Helper function to unify code
|
Int2CharAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Int2CharAVLTreeMap |
avlTreeMap(int[] keys,
char[] values,
IntComparator comp)
Helper function to unify code
|
Int2CharAVLTreeMap |
avlTreeMap(Int2CharMap map,
IntComparator comp)
Helper function to unify code
|
Int2CharAVLTreeMap |
avlTreeMap(IntComparator comp)
Helper function to unify code
|
Int2CharAVLTreeMap |
avlTreeMap(java.lang.Integer[] keys,
java.lang.Character[] values,
IntComparator comp)
Helper function to unify code
|
Int2CharAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map,
IntComparator comp)
Helper function to unify code
|
Int2CharLinkedOpenCustomHashMap |
customLinkedMap(int[] keys,
char[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2CharLinkedOpenCustomHashMap |
customLinkedMap(Int2CharMap map,
IntStrategy strategy)
Helper function to unify code
|
Int2CharLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Integer[] keys,
java.lang.Character[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2CharLinkedOpenCustomHashMap |
customLinkedMap(int size,
IntStrategy strategy)
Helper function to unify code
|
Int2CharLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Helper function to unify code
|
Int2CharLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map,
IntStrategy strategy)
Helper function to unify code
|
Int2CharOpenCustomHashMap |
customMap(int[] keys,
char[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2CharOpenCustomHashMap |
customMap(Int2CharMap map,
IntStrategy strategy)
Helper function to unify code
|
Int2CharOpenCustomHashMap |
customMap(java.lang.Integer[] keys,
java.lang.Character[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2CharOpenCustomHashMap |
customMap(int size,
IntStrategy strategy)
Helper function to unify code
|
Int2CharOpenCustomHashMap |
customMap(IntStrategy strategy)
Helper function to unify code
|
Int2CharOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map,
IntStrategy strategy)
Helper function to unify code
|
ImmutableInt2CharOpenHashMap |
immutable(int[] keys,
char[] values)
Helper function to unify code
|
ImmutableInt2CharOpenHashMap |
immutable(Int2CharMap map)
Helper function to unify code
|
ImmutableInt2CharOpenHashMap |
immutable(java.lang.Integer[] keys,
java.lang.Character[] values)
Helper function to unify code
|
ImmutableInt2CharOpenHashMap |
immutable(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
Helper function to unify code
|
Int2CharLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Int2CharLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
Int2CharLinkedOpenHashMap |
linkedMap(int[] keys,
char[] values)
Helper function to unify code
|
Int2CharLinkedOpenHashMap |
linkedMap(Int2CharMap map)
Helper function to unify code
|
Int2CharLinkedOpenHashMap |
linkedMap(java.lang.Integer[] keys,
java.lang.Character[] values)
Helper function to unify code
|
ImmutableInt2CharOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
Helper function to unify code
|
Int2CharOpenHashMap |
map()
Helper function to unify code
|
Int2CharOpenHashMap |
map(int size)
Helper function to unify code
|
Int2CharOpenHashMap |
map(int[] keys,
char[] values)
Helper function to unify code
|
Int2CharOpenHashMap |
map(Int2CharMap map)
Helper function to unify code
|
Int2CharOpenHashMap |
map(java.lang.Integer[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Int2CharOpenHashMap |
map(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
Helper function to unify code
|
Int2CharMap.BuilderCache |
put(int 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
|
Int2CharMap.BuilderCache |
put(java.lang.Integer 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
|
Int2CharRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Int2CharRBTreeMap |
rbTreeMap(int[] keys,
char[] values,
IntComparator comp)
Helper function to unify code
|
Int2CharRBTreeMap |
rbTreeMap(Int2CharMap map,
IntComparator comp)
Helper function to unify code
|
Int2CharRBTreeMap |
rbTreeMap(IntComparator comp)
Helper function to unify code
|
Int2CharRBTreeMap |
rbTreeMap(java.lang.Integer[] keys,
java.lang.Character[] values,
IntComparator comp)
Helper function to unify code
|
Int2CharRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map,
IntComparator comp)
Helper function to unify code
|
Int2CharMap.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
|
Int2CharMap.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 Int2CharMap.BuilderCache start()
public Int2CharMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public 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 Int2CharOpenHashMap map()
public Int2CharOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Int2CharOpenHashMap map(int[] 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 Int2CharOpenHashMap map(java.lang.Integer[] 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 Int2CharOpenHashMap map(Int2CharMap map)
map - that should be clonedpublic Int2CharOpenHashMap map(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
map - that should be clonedpublic Int2CharLinkedOpenHashMap linkedMap()
public Int2CharLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Int2CharLinkedOpenHashMap linkedMap(int[] 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 Int2CharLinkedOpenHashMap linkedMap(java.lang.Integer[] 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 Int2CharLinkedOpenHashMap linkedMap(Int2CharMap map)
map - that should be clonedpublic ImmutableInt2CharOpenHashMap linkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
map - that should be clonedpublic ImmutableInt2CharOpenHashMap immutable(int[] 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 ImmutableInt2CharOpenHashMap immutable(java.lang.Integer[] 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 ImmutableInt2CharOpenHashMap immutable(Int2CharMap map)
map - that should be clonedpublic ImmutableInt2CharOpenHashMap immutable(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
map - that should be clonedpublic Int2CharOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the Hash Controllerpublic Int2CharOpenCustomHashMap customMap(int size, IntStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Int2CharOpenCustomHashMap customMap(int[] keys, char[] values, IntStrategy 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 Int2CharOpenCustomHashMap customMap(java.lang.Integer[] keys, java.lang.Character[] values, IntStrategy 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 Int2CharOpenCustomHashMap customMap(Int2CharMap map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2CharOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2CharLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the Hash Controllerpublic Int2CharLinkedOpenCustomHashMap customLinkedMap(int size, IntStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Int2CharLinkedOpenCustomHashMap customLinkedMap(int[] keys, char[] values, IntStrategy 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 Int2CharLinkedOpenCustomHashMap customLinkedMap(java.lang.Integer[] keys, java.lang.Character[] values, IntStrategy 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 Int2CharLinkedOpenCustomHashMap customLinkedMap(Int2CharMap map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2CharLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2CharArrayMap arrayMap()
public Int2CharArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Int2CharArrayMap arrayMap(int[] 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 Int2CharArrayMap arrayMap(java.lang.Integer[] 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 Int2CharArrayMap arrayMap(Int2CharMap map)
map - that should be clonedpublic Int2CharArrayMap arrayMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map)
map - that should be clonedpublic Int2CharRBTreeMap rbTreeMap()
public Int2CharRBTreeMap rbTreeMap(IntComparator comp)
comp - the Sorter of the TreeMappublic Int2CharRBTreeMap rbTreeMap(int[] keys, char[] values, IntComparator 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 Int2CharRBTreeMap rbTreeMap(java.lang.Integer[] keys, java.lang.Character[] values, IntComparator 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 Int2CharRBTreeMap rbTreeMap(Int2CharMap map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Int2CharRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Int2CharAVLTreeMap avlTreeMap()
public Int2CharAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Sorter of the TreeMappublic Int2CharAVLTreeMap avlTreeMap(int[] keys, char[] values, IntComparator 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 Int2CharAVLTreeMap avlTreeMap(java.lang.Integer[] keys, java.lang.Character[] values, IntComparator 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 Int2CharAVLTreeMap avlTreeMap(Int2CharMap map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Int2CharAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Character> map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap