public static final class Short2FloatMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Short2FloatArrayMap |
arrayMap()
Helper function to unify code
|
Short2FloatArrayMap |
arrayMap(int size)
Helper function to unify code
|
Short2FloatArrayMap |
arrayMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
Helper function to unify code
|
Short2FloatArrayMap |
arrayMap(short[] keys,
float[] values)
Helper function to unify code
|
Short2FloatArrayMap |
arrayMap(java.lang.Short[] keys,
java.lang.Float[] values)
Helper function to unify code
|
Short2FloatArrayMap |
arrayMap(Short2FloatMap map)
Helper function to unify code
|
Short2FloatAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Short2FloatAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map,
ShortComparator comp)
Helper function to unify code
|
Short2FloatAVLTreeMap |
avlTreeMap(short[] keys,
float[] values,
ShortComparator comp)
Helper function to unify code
|
Short2FloatAVLTreeMap |
avlTreeMap(java.lang.Short[] keys,
java.lang.Float[] values,
ShortComparator comp)
Helper function to unify code
|
Short2FloatAVLTreeMap |
avlTreeMap(Short2FloatMap map,
ShortComparator comp)
Helper function to unify code
|
Short2FloatAVLTreeMap |
avlTreeMap(ShortComparator comp)
Helper function to unify code
|
Short2FloatLinkedOpenCustomHashMap |
customLinkedMap(int size,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatLinkedOpenCustomHashMap |
customLinkedMap(short[] keys,
float[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Short[] keys,
java.lang.Float[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatLinkedOpenCustomHashMap |
customLinkedMap(Short2FloatMap map,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Helper function to unify code
|
Short2FloatOpenCustomHashMap |
customMap(int size,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatOpenCustomHashMap |
customMap(short[] keys,
float[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatOpenCustomHashMap |
customMap(java.lang.Short[] keys,
java.lang.Float[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatOpenCustomHashMap |
customMap(Short2FloatMap map,
ShortStrategy strategy)
Helper function to unify code
|
Short2FloatOpenCustomHashMap |
customMap(ShortStrategy strategy)
Helper function to unify code
|
ImmutableShort2FloatOpenHashMap |
immutable(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
Helper function to unify code
|
ImmutableShort2FloatOpenHashMap |
immutable(short[] keys,
float[] values)
Helper function to unify code
|
ImmutableShort2FloatOpenHashMap |
immutable(java.lang.Short[] keys,
java.lang.Float[] values)
Helper function to unify code
|
ImmutableShort2FloatOpenHashMap |
immutable(Short2FloatMap map)
Helper function to unify code
|
Short2FloatLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Short2FloatLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableShort2FloatOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
Helper function to unify code
|
Short2FloatLinkedOpenHashMap |
linkedMap(short[] keys,
float[] values)
Helper function to unify code
|
Short2FloatLinkedOpenHashMap |
linkedMap(java.lang.Short[] keys,
java.lang.Float[] values)
Helper function to unify code
|
Short2FloatLinkedOpenHashMap |
linkedMap(Short2FloatMap map)
Helper function to unify code
|
Short2FloatOpenHashMap |
map()
Helper function to unify code
|
Short2FloatOpenHashMap |
map(int size)
Helper function to unify code
|
Short2FloatOpenHashMap |
map(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
Helper function to unify code
|
Short2FloatOpenHashMap |
map(short[] keys,
float[] values)
Helper function to unify code
|
Short2FloatOpenHashMap |
map(java.lang.Short[] keys,
java.lang.Float[] values)
Helper function to unify code
|
Short2FloatOpenHashMap |
map(Short2FloatMap map)
Helper function to unify code
|
Short2FloatMap.BuilderCache |
put(short key,
float 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
|
Short2FloatMap.BuilderCache |
put(java.lang.Short key,
java.lang.Float 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
|
Short2FloatRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Short2FloatRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map,
ShortComparator comp)
Helper function to unify code
|
Short2FloatRBTreeMap |
rbTreeMap(short[] keys,
float[] values,
ShortComparator comp)
Helper function to unify code
|
Short2FloatRBTreeMap |
rbTreeMap(java.lang.Short[] keys,
java.lang.Float[] values,
ShortComparator comp)
Helper function to unify code
|
Short2FloatRBTreeMap |
rbTreeMap(Short2FloatMap map,
ShortComparator comp)
Helper function to unify code
|
Short2FloatRBTreeMap |
rbTreeMap(ShortComparator comp)
Helper function to unify code
|
Short2FloatMap.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
|
Short2FloatMap.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 Short2FloatMap.BuilderCache start()
public Short2FloatMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Short2FloatMap.BuilderCache put(short key, float value)
key - the key that should be addedvalue - the value that should be addedpublic Short2FloatMap.BuilderCache put(java.lang.Short key, java.lang.Float value)
key - the key that should be addedvalue - the value that should be addedpublic Short2FloatOpenHashMap map()
public Short2FloatOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Short2FloatOpenHashMap map(short[] keys, float[] 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 Short2FloatOpenHashMap map(java.lang.Short[] keys, java.lang.Float[] 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 Short2FloatOpenHashMap map(Short2FloatMap map)
map - that should be clonedpublic Short2FloatOpenHashMap map(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
map - that should be clonedpublic Short2FloatLinkedOpenHashMap linkedMap()
public Short2FloatLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Short2FloatLinkedOpenHashMap linkedMap(short[] keys, float[] 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 Short2FloatLinkedOpenHashMap linkedMap(java.lang.Short[] keys, java.lang.Float[] 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 Short2FloatLinkedOpenHashMap linkedMap(Short2FloatMap map)
map - that should be clonedpublic ImmutableShort2FloatOpenHashMap linkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
map - that should be clonedpublic ImmutableShort2FloatOpenHashMap immutable(short[] keys, float[] 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 ImmutableShort2FloatOpenHashMap immutable(java.lang.Short[] keys, java.lang.Float[] 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 ImmutableShort2FloatOpenHashMap immutable(Short2FloatMap map)
map - that should be clonedpublic ImmutableShort2FloatOpenHashMap immutable(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
map - that should be clonedpublic Short2FloatOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the Hash Controllerpublic Short2FloatOpenCustomHashMap customMap(int size, ShortStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Short2FloatOpenCustomHashMap customMap(short[] keys, float[] 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 Short2FloatOpenCustomHashMap customMap(java.lang.Short[] keys, java.lang.Float[] 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 Short2FloatOpenCustomHashMap customMap(Short2FloatMap map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2FloatOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2FloatLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the Hash Controllerpublic Short2FloatLinkedOpenCustomHashMap customLinkedMap(int size, ShortStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Short2FloatLinkedOpenCustomHashMap customLinkedMap(short[] keys, float[] 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 Short2FloatLinkedOpenCustomHashMap customLinkedMap(java.lang.Short[] keys, java.lang.Float[] 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 Short2FloatLinkedOpenCustomHashMap customLinkedMap(Short2FloatMap map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2FloatLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2FloatArrayMap arrayMap()
public Short2FloatArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Short2FloatArrayMap arrayMap(short[] keys, float[] 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 Short2FloatArrayMap arrayMap(java.lang.Short[] keys, java.lang.Float[] 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 Short2FloatArrayMap arrayMap(Short2FloatMap map)
map - that should be clonedpublic Short2FloatArrayMap arrayMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map)
map - that should be clonedpublic Short2FloatRBTreeMap rbTreeMap()
public Short2FloatRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Sorter of the TreeMappublic Short2FloatRBTreeMap rbTreeMap(short[] keys, float[] 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 Short2FloatRBTreeMap rbTreeMap(java.lang.Short[] keys, java.lang.Float[] 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 Short2FloatRBTreeMap rbTreeMap(Short2FloatMap map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2FloatRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2FloatAVLTreeMap avlTreeMap()
public Short2FloatAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Sorter of the TreeMappublic Short2FloatAVLTreeMap avlTreeMap(short[] keys, float[] 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 Short2FloatAVLTreeMap avlTreeMap(java.lang.Short[] keys, java.lang.Float[] 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 Short2FloatAVLTreeMap avlTreeMap(Short2FloatMap map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2FloatAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Float> map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap