public static final class Float2ShortMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Float2ShortArrayMap |
arrayMap()
Helper function to unify code
|
Float2ShortArrayMap |
arrayMap(float[] keys,
short[] values)
Helper function to unify code
|
Float2ShortArrayMap |
arrayMap(java.lang.Float[] keys,
java.lang.Short[] values)
Helper function to unify code
|
Float2ShortArrayMap |
arrayMap(Float2ShortMap map)
Helper function to unify code
|
Float2ShortArrayMap |
arrayMap(int size)
Helper function to unify code
|
Float2ShortArrayMap |
arrayMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
Helper function to unify code
|
Float2ShortAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Float2ShortAVLTreeMap |
avlTreeMap(float[] keys,
short[] values,
FloatComparator comp)
Helper function to unify code
|
Float2ShortAVLTreeMap |
avlTreeMap(java.lang.Float[] keys,
java.lang.Short[] values,
FloatComparator comp)
Helper function to unify code
|
Float2ShortAVLTreeMap |
avlTreeMap(Float2ShortMap map,
FloatComparator comp)
Helper function to unify code
|
Float2ShortAVLTreeMap |
avlTreeMap(FloatComparator comp)
Helper function to unify code
|
Float2ShortAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map,
FloatComparator comp)
Helper function to unify code
|
Float2ShortLinkedOpenCustomHashMap |
customLinkedMap(float[] keys,
short[] values,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Float[] keys,
java.lang.Short[] values,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortLinkedOpenCustomHashMap |
customLinkedMap(Float2ShortMap map,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortLinkedOpenCustomHashMap |
customLinkedMap(FloatStrategy strategy)
Helper function to unify code
|
Float2ShortLinkedOpenCustomHashMap |
customLinkedMap(int size,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortOpenCustomHashMap |
customMap(float[] keys,
short[] values,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortOpenCustomHashMap |
customMap(java.lang.Float[] keys,
java.lang.Short[] values,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortOpenCustomHashMap |
customMap(Float2ShortMap map,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortOpenCustomHashMap |
customMap(FloatStrategy strategy)
Helper function to unify code
|
Float2ShortOpenCustomHashMap |
customMap(int size,
FloatStrategy strategy)
Helper function to unify code
|
Float2ShortOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map,
FloatStrategy strategy)
Helper function to unify code
|
ImmutableFloat2ShortOpenHashMap |
immutable(float[] keys,
short[] values)
Helper function to unify code
|
ImmutableFloat2ShortOpenHashMap |
immutable(java.lang.Float[] keys,
java.lang.Short[] values)
Helper function to unify code
|
ImmutableFloat2ShortOpenHashMap |
immutable(Float2ShortMap map)
Helper function to unify code
|
ImmutableFloat2ShortOpenHashMap |
immutable(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
Helper function to unify code
|
Float2ShortLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Float2ShortLinkedOpenHashMap |
linkedMap(float[] keys,
short[] values)
Helper function to unify code
|
Float2ShortLinkedOpenHashMap |
linkedMap(java.lang.Float[] keys,
java.lang.Short[] values)
Helper function to unify code
|
Float2ShortLinkedOpenHashMap |
linkedMap(Float2ShortMap map)
Helper function to unify code
|
Float2ShortLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableFloat2ShortOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
Helper function to unify code
|
Float2ShortOpenHashMap |
map()
Helper function to unify code
|
Float2ShortOpenHashMap |
map(float[] keys,
short[] values)
Helper function to unify code
|
Float2ShortOpenHashMap |
map(java.lang.Float[] keys,
java.lang.Short[] values)
Helper function to unify code
|
Float2ShortOpenHashMap |
map(Float2ShortMap map)
Helper function to unify code
|
Float2ShortOpenHashMap |
map(int size)
Helper function to unify code
|
Float2ShortOpenHashMap |
map(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
Helper function to unify code
|
Float2ShortMap.BuilderCache |
put(float 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
|
Float2ShortMap.BuilderCache |
put(java.lang.Float 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
|
Float2ShortRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Float2ShortRBTreeMap |
rbTreeMap(float[] keys,
short[] values,
FloatComparator comp)
Helper function to unify code
|
Float2ShortRBTreeMap |
rbTreeMap(java.lang.Float[] keys,
java.lang.Short[] values,
FloatComparator comp)
Helper function to unify code
|
Float2ShortRBTreeMap |
rbTreeMap(Float2ShortMap map,
FloatComparator comp)
Helper function to unify code
|
Float2ShortRBTreeMap |
rbTreeMap(FloatComparator comp)
Helper function to unify code
|
Float2ShortRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map,
FloatComparator comp)
Helper function to unify code
|
Float2ShortMap.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
|
Float2ShortMap.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 Float2ShortMap.BuilderCache start()
public Float2ShortMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Float2ShortMap.BuilderCache put(float key, short value)
key - the key that should be addedvalue - the value that should be addedpublic Float2ShortMap.BuilderCache put(java.lang.Float key, java.lang.Short value)
key - the key that should be addedvalue - the value that should be addedpublic Float2ShortOpenHashMap map()
public Float2ShortOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Float2ShortOpenHashMap map(float[] 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 Float2ShortOpenHashMap map(java.lang.Float[] 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 Float2ShortOpenHashMap map(Float2ShortMap map)
map - that should be clonedpublic Float2ShortOpenHashMap map(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
map - that should be clonedpublic Float2ShortLinkedOpenHashMap linkedMap()
public Float2ShortLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Float2ShortLinkedOpenHashMap linkedMap(float[] 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 Float2ShortLinkedOpenHashMap linkedMap(java.lang.Float[] 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 Float2ShortLinkedOpenHashMap linkedMap(Float2ShortMap map)
map - that should be clonedpublic ImmutableFloat2ShortOpenHashMap linkedMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
map - that should be clonedpublic ImmutableFloat2ShortOpenHashMap immutable(float[] 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 ImmutableFloat2ShortOpenHashMap immutable(java.lang.Float[] 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 ImmutableFloat2ShortOpenHashMap immutable(Float2ShortMap map)
map - that should be clonedpublic ImmutableFloat2ShortOpenHashMap immutable(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
map - that should be clonedpublic Float2ShortOpenCustomHashMap customMap(FloatStrategy strategy)
strategy - the Hash Controllerpublic Float2ShortOpenCustomHashMap customMap(int size, FloatStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Float2ShortOpenCustomHashMap customMap(float[] keys, short[] values, FloatStrategy 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 Float2ShortOpenCustomHashMap customMap(java.lang.Float[] keys, java.lang.Short[] values, FloatStrategy 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 Float2ShortOpenCustomHashMap customMap(Float2ShortMap map, FloatStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Float2ShortOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map, FloatStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Float2ShortLinkedOpenCustomHashMap customLinkedMap(FloatStrategy strategy)
strategy - the Hash Controllerpublic Float2ShortLinkedOpenCustomHashMap customLinkedMap(int size, FloatStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Float2ShortLinkedOpenCustomHashMap customLinkedMap(float[] keys, short[] values, FloatStrategy 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 Float2ShortLinkedOpenCustomHashMap customLinkedMap(java.lang.Float[] keys, java.lang.Short[] values, FloatStrategy 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 Float2ShortLinkedOpenCustomHashMap customLinkedMap(Float2ShortMap map, FloatStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Float2ShortLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map, FloatStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Float2ShortArrayMap arrayMap()
public Float2ShortArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Float2ShortArrayMap arrayMap(float[] 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 Float2ShortArrayMap arrayMap(java.lang.Float[] 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 Float2ShortArrayMap arrayMap(Float2ShortMap map)
map - that should be clonedpublic Float2ShortArrayMap arrayMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map)
map - that should be clonedpublic Float2ShortRBTreeMap rbTreeMap()
public Float2ShortRBTreeMap rbTreeMap(FloatComparator comp)
comp - the Sorter of the TreeMappublic Float2ShortRBTreeMap rbTreeMap(float[] keys, short[] values, FloatComparator 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 Float2ShortRBTreeMap rbTreeMap(java.lang.Float[] keys, java.lang.Short[] values, FloatComparator 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 Float2ShortRBTreeMap rbTreeMap(Float2ShortMap map, FloatComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Float2ShortRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map, FloatComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Float2ShortAVLTreeMap avlTreeMap()
public Float2ShortAVLTreeMap avlTreeMap(FloatComparator comp)
comp - the Sorter of the TreeMappublic Float2ShortAVLTreeMap avlTreeMap(float[] keys, short[] values, FloatComparator 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 Float2ShortAVLTreeMap avlTreeMap(java.lang.Float[] keys, java.lang.Short[] values, FloatComparator 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 Float2ShortAVLTreeMap avlTreeMap(Float2ShortMap map, FloatComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Float2ShortAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Float,? extends java.lang.Short> map, FloatComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap