public static final class Char2ShortMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Char2ShortArrayMap |
arrayMap()
Helper function to unify code
|
Char2ShortArrayMap |
arrayMap(char[] keys,
short[] values)
Helper function to unify code
|
Char2ShortArrayMap |
arrayMap(Char2ShortMap map)
Helper function to unify code
|
Char2ShortArrayMap |
arrayMap(java.lang.Character[] keys,
java.lang.Short[] values)
Helper function to unify code
|
Char2ShortArrayMap |
arrayMap(int size)
Helper function to unify code
|
Char2ShortArrayMap |
arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
Helper function to unify code
|
Char2ShortAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Char2ShortAVLTreeMap |
avlTreeMap(char[] keys,
short[] values,
CharComparator comp)
Helper function to unify code
|
Char2ShortAVLTreeMap |
avlTreeMap(Char2ShortMap map,
CharComparator comp)
Helper function to unify code
|
Char2ShortAVLTreeMap |
avlTreeMap(java.lang.Character[] keys,
java.lang.Short[] values,
CharComparator comp)
Helper function to unify code
|
Char2ShortAVLTreeMap |
avlTreeMap(CharComparator comp)
Helper function to unify code
|
Char2ShortAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map,
CharComparator comp)
Helper function to unify code
|
Char2ShortLinkedOpenCustomHashMap |
customLinkedMap(char[] keys,
short[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortLinkedOpenCustomHashMap |
customLinkedMap(Char2ShortMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Character[] keys,
java.lang.Short[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Helper function to unify code
|
Char2ShortLinkedOpenCustomHashMap |
customLinkedMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortOpenCustomHashMap |
customMap(char[] keys,
short[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortOpenCustomHashMap |
customMap(Char2ShortMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortOpenCustomHashMap |
customMap(java.lang.Character[] keys,
java.lang.Short[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortOpenCustomHashMap |
customMap(CharStrategy strategy)
Helper function to unify code
|
Char2ShortOpenCustomHashMap |
customMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2ShortOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map,
CharStrategy strategy)
Helper function to unify code
|
ImmutableChar2ShortOpenHashMap |
immutable(char[] keys,
short[] values)
Helper function to unify code
|
ImmutableChar2ShortOpenHashMap |
immutable(Char2ShortMap map)
Helper function to unify code
|
ImmutableChar2ShortOpenHashMap |
immutable(java.lang.Character[] keys,
java.lang.Short[] values)
Helper function to unify code
|
ImmutableChar2ShortOpenHashMap |
immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
Helper function to unify code
|
Char2ShortLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Char2ShortLinkedOpenHashMap |
linkedMap(char[] keys,
short[] values)
Helper function to unify code
|
Char2ShortLinkedOpenHashMap |
linkedMap(Char2ShortMap map)
Helper function to unify code
|
Char2ShortLinkedOpenHashMap |
linkedMap(java.lang.Character[] keys,
java.lang.Short[] values)
Helper function to unify code
|
Char2ShortLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableChar2ShortOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
Helper function to unify code
|
Char2ShortOpenHashMap |
map()
Helper function to unify code
|
Char2ShortOpenHashMap |
map(char[] keys,
short[] values)
Helper function to unify code
|
Char2ShortOpenHashMap |
map(Char2ShortMap map)
Helper function to unify code
|
Char2ShortOpenHashMap |
map(java.lang.Character[] keys,
java.lang.Short[] values)
Helper function to unify code
|
Char2ShortOpenHashMap |
map(int size)
Helper function to unify code
|
Char2ShortOpenHashMap |
map(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
Helper function to unify code
|
Char2ShortMap.BuilderCache |
put(java.lang.Character key,
java.lang.Short 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
|
Char2ShortMap.BuilderCache |
put(char key,
short 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
|
Char2ShortRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Char2ShortRBTreeMap |
rbTreeMap(char[] keys,
short[] values,
CharComparator comp)
Helper function to unify code
|
Char2ShortRBTreeMap |
rbTreeMap(Char2ShortMap map,
CharComparator comp)
Helper function to unify code
|
Char2ShortRBTreeMap |
rbTreeMap(java.lang.Character[] keys,
java.lang.Short[] values,
CharComparator comp)
Helper function to unify code
|
Char2ShortRBTreeMap |
rbTreeMap(CharComparator comp)
Helper function to unify code
|
Char2ShortRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map,
CharComparator comp)
Helper function to unify code
|
Char2ShortMap.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
|
Char2ShortMap.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 Char2ShortMap.BuilderCache start()
public Char2ShortMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Char2ShortMap.BuilderCache put(char key, short value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ShortMap.BuilderCache put(java.lang.Character key, java.lang.Short value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ShortOpenHashMap map()
public Char2ShortOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Char2ShortOpenHashMap map(char[] keys, short[] 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 Char2ShortOpenHashMap map(java.lang.Character[] keys, java.lang.Short[] 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 Char2ShortOpenHashMap map(Char2ShortMap map)
map - that should be clonedpublic Char2ShortOpenHashMap map(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
map - that should be clonedpublic Char2ShortLinkedOpenHashMap linkedMap()
public Char2ShortLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Char2ShortLinkedOpenHashMap linkedMap(char[] keys, short[] 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 Char2ShortLinkedOpenHashMap linkedMap(java.lang.Character[] keys, java.lang.Short[] 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 Char2ShortLinkedOpenHashMap linkedMap(Char2ShortMap map)
map - that should be clonedpublic ImmutableChar2ShortOpenHashMap linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
map - that should be clonedpublic ImmutableChar2ShortOpenHashMap immutable(char[] keys, short[] 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 ImmutableChar2ShortOpenHashMap immutable(java.lang.Character[] keys, java.lang.Short[] 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 ImmutableChar2ShortOpenHashMap immutable(Char2ShortMap map)
map - that should be clonedpublic ImmutableChar2ShortOpenHashMap immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
map - that should be clonedpublic Char2ShortOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2ShortOpenCustomHashMap customMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2ShortOpenCustomHashMap customMap(char[] keys, short[] 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 Char2ShortOpenCustomHashMap customMap(java.lang.Character[] keys, java.lang.Short[] 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 Char2ShortOpenCustomHashMap customMap(Char2ShortMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ShortOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ShortLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2ShortLinkedOpenCustomHashMap customLinkedMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2ShortLinkedOpenCustomHashMap customLinkedMap(char[] keys, short[] 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 Char2ShortLinkedOpenCustomHashMap customLinkedMap(java.lang.Character[] keys, java.lang.Short[] 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 Char2ShortLinkedOpenCustomHashMap customLinkedMap(Char2ShortMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ShortLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ShortArrayMap arrayMap()
public Char2ShortArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Char2ShortArrayMap arrayMap(char[] keys, short[] 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 Char2ShortArrayMap arrayMap(java.lang.Character[] keys, java.lang.Short[] 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 Char2ShortArrayMap arrayMap(Char2ShortMap map)
map - that should be clonedpublic Char2ShortArrayMap arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map)
map - that should be clonedpublic Char2ShortRBTreeMap rbTreeMap()
public Char2ShortRBTreeMap rbTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2ShortRBTreeMap rbTreeMap(char[] keys, short[] 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 Char2ShortRBTreeMap rbTreeMap(java.lang.Character[] keys, java.lang.Short[] 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 Char2ShortRBTreeMap rbTreeMap(Char2ShortMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2ShortRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2ShortAVLTreeMap avlTreeMap()
public Char2ShortAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2ShortAVLTreeMap avlTreeMap(char[] keys, short[] 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 Char2ShortAVLTreeMap avlTreeMap(java.lang.Character[] keys, java.lang.Short[] 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 Char2ShortAVLTreeMap avlTreeMap(Char2ShortMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2ShortAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Short> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap