public static final class Short2CharMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Short2CharArrayMap |
arrayMap()
Helper function to unify code
|
Short2CharArrayMap |
arrayMap(int size)
Helper function to unify code
|
Short2CharArrayMap |
arrayMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
Helper function to unify code
|
Short2CharArrayMap |
arrayMap(short[] keys,
char[] values)
Helper function to unify code
|
Short2CharArrayMap |
arrayMap(java.lang.Short[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Short2CharArrayMap |
arrayMap(Short2CharMap map)
Helper function to unify code
|
Short2CharAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Short2CharAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map,
ShortComparator comp)
Helper function to unify code
|
Short2CharAVLTreeMap |
avlTreeMap(short[] keys,
char[] values,
ShortComparator comp)
Helper function to unify code
|
Short2CharAVLTreeMap |
avlTreeMap(java.lang.Short[] keys,
java.lang.Character[] values,
ShortComparator comp)
Helper function to unify code
|
Short2CharAVLTreeMap |
avlTreeMap(Short2CharMap map,
ShortComparator comp)
Helper function to unify code
|
Short2CharAVLTreeMap |
avlTreeMap(ShortComparator comp)
Helper function to unify code
|
Short2CharLinkedOpenCustomHashMap |
customLinkedMap(int size,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharLinkedOpenCustomHashMap |
customLinkedMap(short[] keys,
char[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Short[] keys,
java.lang.Character[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharLinkedOpenCustomHashMap |
customLinkedMap(Short2CharMap map,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Helper function to unify code
|
Short2CharOpenCustomHashMap |
customMap(int size,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharOpenCustomHashMap |
customMap(short[] keys,
char[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharOpenCustomHashMap |
customMap(java.lang.Short[] keys,
java.lang.Character[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharOpenCustomHashMap |
customMap(Short2CharMap map,
ShortStrategy strategy)
Helper function to unify code
|
Short2CharOpenCustomHashMap |
customMap(ShortStrategy strategy)
Helper function to unify code
|
ImmutableShort2CharOpenHashMap |
immutable(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
Helper function to unify code
|
ImmutableShort2CharOpenHashMap |
immutable(short[] keys,
char[] values)
Helper function to unify code
|
ImmutableShort2CharOpenHashMap |
immutable(java.lang.Short[] keys,
java.lang.Character[] values)
Helper function to unify code
|
ImmutableShort2CharOpenHashMap |
immutable(Short2CharMap map)
Helper function to unify code
|
Short2CharLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Short2CharLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableShort2CharOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
Helper function to unify code
|
Short2CharLinkedOpenHashMap |
linkedMap(short[] keys,
char[] values)
Helper function to unify code
|
Short2CharLinkedOpenHashMap |
linkedMap(java.lang.Short[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Short2CharLinkedOpenHashMap |
linkedMap(Short2CharMap map)
Helper function to unify code
|
Short2CharOpenHashMap |
map()
Helper function to unify code
|
Short2CharOpenHashMap |
map(int size)
Helper function to unify code
|
Short2CharOpenHashMap |
map(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
Helper function to unify code
|
Short2CharOpenHashMap |
map(short[] keys,
char[] values)
Helper function to unify code
|
Short2CharOpenHashMap |
map(java.lang.Short[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Short2CharOpenHashMap |
map(Short2CharMap map)
Helper function to unify code
|
Short2CharMap.BuilderCache |
put(short 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
|
Short2CharMap.BuilderCache |
put(java.lang.Short 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
|
Short2CharRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Short2CharRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map,
ShortComparator comp)
Helper function to unify code
|
Short2CharRBTreeMap |
rbTreeMap(short[] keys,
char[] values,
ShortComparator comp)
Helper function to unify code
|
Short2CharRBTreeMap |
rbTreeMap(java.lang.Short[] keys,
java.lang.Character[] values,
ShortComparator comp)
Helper function to unify code
|
Short2CharRBTreeMap |
rbTreeMap(Short2CharMap map,
ShortComparator comp)
Helper function to unify code
|
Short2CharRBTreeMap |
rbTreeMap(ShortComparator comp)
Helper function to unify code
|
Short2CharMap.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
|
Short2CharMap.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 Short2CharMap.BuilderCache start()
public Short2CharMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Short2CharMap.BuilderCache put(short key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Short2CharMap.BuilderCache put(java.lang.Short key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Short2CharOpenHashMap map()
public Short2CharOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Short2CharOpenHashMap map(short[] 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 Short2CharOpenHashMap map(java.lang.Short[] 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 Short2CharOpenHashMap map(Short2CharMap map)
map - that should be clonedpublic Short2CharOpenHashMap map(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
map - that should be clonedpublic Short2CharLinkedOpenHashMap linkedMap()
public Short2CharLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Short2CharLinkedOpenHashMap linkedMap(short[] 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 Short2CharLinkedOpenHashMap linkedMap(java.lang.Short[] 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 Short2CharLinkedOpenHashMap linkedMap(Short2CharMap map)
map - that should be clonedpublic ImmutableShort2CharOpenHashMap linkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
map - that should be clonedpublic ImmutableShort2CharOpenHashMap immutable(short[] 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 ImmutableShort2CharOpenHashMap immutable(java.lang.Short[] 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 ImmutableShort2CharOpenHashMap immutable(Short2CharMap map)
map - that should be clonedpublic ImmutableShort2CharOpenHashMap immutable(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
map - that should be clonedpublic Short2CharOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the Hash Controllerpublic Short2CharOpenCustomHashMap customMap(int size, ShortStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Short2CharOpenCustomHashMap customMap(short[] keys, char[] values, ShortStrategy 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 Short2CharOpenCustomHashMap customMap(java.lang.Short[] keys, java.lang.Character[] values, ShortStrategy 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 Short2CharOpenCustomHashMap customMap(Short2CharMap map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2CharOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2CharLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the Hash Controllerpublic Short2CharLinkedOpenCustomHashMap customLinkedMap(int size, ShortStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Short2CharLinkedOpenCustomHashMap customLinkedMap(short[] keys, char[] values, ShortStrategy 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 Short2CharLinkedOpenCustomHashMap customLinkedMap(java.lang.Short[] keys, java.lang.Character[] values, ShortStrategy 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 Short2CharLinkedOpenCustomHashMap customLinkedMap(Short2CharMap map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2CharLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2CharArrayMap arrayMap()
public Short2CharArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Short2CharArrayMap arrayMap(short[] 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 Short2CharArrayMap arrayMap(java.lang.Short[] 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 Short2CharArrayMap arrayMap(Short2CharMap map)
map - that should be clonedpublic Short2CharArrayMap arrayMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map)
map - that should be clonedpublic Short2CharRBTreeMap rbTreeMap()
public Short2CharRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Sorter of the TreeMappublic Short2CharRBTreeMap rbTreeMap(short[] keys, char[] values, ShortComparator 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 Short2CharRBTreeMap rbTreeMap(java.lang.Short[] keys, java.lang.Character[] values, ShortComparator 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 Short2CharRBTreeMap rbTreeMap(Short2CharMap map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2CharRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2CharAVLTreeMap avlTreeMap()
public Short2CharAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Sorter of the TreeMappublic Short2CharAVLTreeMap avlTreeMap(short[] keys, char[] values, ShortComparator 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 Short2CharAVLTreeMap avlTreeMap(java.lang.Short[] keys, java.lang.Character[] values, ShortComparator 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 Short2CharAVLTreeMap avlTreeMap(Short2CharMap map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2CharAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Character> map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap