public static final class Float2ObjectMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<V> Float2ObjectArrayMap<V> |
arrayMap()
Helper function to unify code
|
<V> Float2ObjectArrayMap<V> |
arrayMap(float[] keys,
V[] values)
Helper function to unify code
|
<V> Float2ObjectArrayMap<V> |
arrayMap(java.lang.Float[] keys,
V[] values)
Helper function to unify code
|
<V> Float2ObjectArrayMap<V> |
arrayMap(Float2ObjectMap<V> map)
Helper function to unify code
|
<V> Float2ObjectArrayMap<V> |
arrayMap(int size)
Helper function to unify code
|
<V> Float2ObjectArrayMap<V> |
arrayMap(java.util.Map<? extends java.lang.Float,? extends V> map)
Helper function to unify code
|
<V> Float2ObjectAVLTreeMap<V> |
avlTreeMap()
Helper function to unify code
|
<V> Float2ObjectAVLTreeMap<V> |
avlTreeMap(float[] keys,
V[] values,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectAVLTreeMap<V> |
avlTreeMap(java.lang.Float[] keys,
V[] values,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectAVLTreeMap<V> |
avlTreeMap(Float2ObjectMap<V> map,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectAVLTreeMap<V> |
avlTreeMap(FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectAVLTreeMap<V> |
avlTreeMap(java.util.Map<? extends java.lang.Float,? extends V> map,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(float[] keys,
V[] values,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(java.lang.Float[] keys,
V[] values,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(Float2ObjectMap<V> map,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(int size,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(java.util.Map<? extends java.lang.Float,? extends V> map,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectOpenCustomHashMap<V> |
customMap(float[] keys,
V[] values,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectOpenCustomHashMap<V> |
customMap(java.lang.Float[] keys,
V[] values,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectOpenCustomHashMap<V> |
customMap(Float2ObjectMap<V> map,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectOpenCustomHashMap<V> |
customMap(FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectOpenCustomHashMap<V> |
customMap(int size,
FloatStrategy strategy)
Helper function to unify code
|
<V> Float2ObjectOpenCustomHashMap<V> |
customMap(java.util.Map<? extends java.lang.Float,? extends V> map,
FloatStrategy strategy)
Helper function to unify code
|
<V> ImmutableFloat2ObjectOpenHashMap<V> |
immutable(float[] keys,
V[] values)
Helper function to unify code
|
<V> ImmutableFloat2ObjectOpenHashMap<V> |
immutable(java.lang.Float[] keys,
V[] values)
Helper function to unify code
|
<V> ImmutableFloat2ObjectOpenHashMap<V> |
immutable(Float2ObjectMap<V> map)
Helper function to unify code
|
<V> ImmutableFloat2ObjectOpenHashMap<V> |
immutable(java.util.Map<? extends java.lang.Float,? extends V> map)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenHashMap<V> |
linkedMap()
Helper function to unify code
|
<V> Float2ObjectLinkedOpenHashMap<V> |
linkedMap(float[] keys,
V[] values)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenHashMap<V> |
linkedMap(java.lang.Float[] keys,
V[] values)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenHashMap<V> |
linkedMap(Float2ObjectMap<V> map)
Helper function to unify code
|
<V> Float2ObjectLinkedOpenHashMap<V> |
linkedMap(int size)
Helper function to unify code
|
<V> ImmutableFloat2ObjectOpenHashMap<V> |
linkedMap(java.util.Map<? extends java.lang.Float,? extends V> map)
Helper function to unify code
|
<V> Float2ObjectOpenHashMap<V> |
map()
Helper function to unify code
|
<V> Float2ObjectOpenHashMap<V> |
map(float[] keys,
V[] values)
Helper function to unify code
|
<V> Float2ObjectOpenHashMap<V> |
map(java.lang.Float[] keys,
V[] values)
Helper function to unify code
|
<V> Float2ObjectOpenHashMap<V> |
map(Float2ObjectMap<V> map)
Helper function to unify code
|
<V> Float2ObjectOpenHashMap<V> |
map(int size)
Helper function to unify code
|
<V> Float2ObjectOpenHashMap<V> |
map(java.util.Map<? extends java.lang.Float,? extends V> map)
Helper function to unify code
|
<V> Float2ObjectMap.BuilderCache<V> |
put(float key,
V 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
|
<V> Float2ObjectMap.BuilderCache<V> |
put(java.lang.Float key,
V 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
|
<V> Float2ObjectRBTreeMap<V> |
rbTreeMap()
Helper function to unify code
|
<V> Float2ObjectRBTreeMap<V> |
rbTreeMap(float[] keys,
V[] values,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectRBTreeMap<V> |
rbTreeMap(java.lang.Float[] keys,
V[] values,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectRBTreeMap<V> |
rbTreeMap(Float2ObjectMap<V> map,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectRBTreeMap<V> |
rbTreeMap(FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectRBTreeMap<V> |
rbTreeMap(java.util.Map<? extends java.lang.Float,? extends V> map,
FloatComparator comp)
Helper function to unify code
|
<V> Float2ObjectMap.BuilderCache<V> |
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
|
<V> Float2ObjectMap.BuilderCache<V> |
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 <V> Float2ObjectMap.BuilderCache<V> start()
V - the type of elements maintained by this Collectionpublic <V> Float2ObjectMap.BuilderCache<V> start(int size)
V - the type of elements maintained by this Collectionsize - the expected minimum size of Elements in the Map, default is 16public <V> Float2ObjectMap.BuilderCache<V> put(float key, V value)
V - the type of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <V> Float2ObjectMap.BuilderCache<V> put(java.lang.Float key, V value)
V - the type of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <V> Float2ObjectOpenHashMap<V> map()
V - the type of elements maintained by this Collectionpublic <V> Float2ObjectOpenHashMap<V> map(int size)
V - the type of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Float2ObjectOpenHashMap<V> map(float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Float2ObjectOpenHashMap<V> map(java.lang.Float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Float2ObjectOpenHashMap<V> map(Float2ObjectMap<V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> Float2ObjectOpenHashMap<V> map(java.util.Map<? extends java.lang.Float,? extends V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> Float2ObjectLinkedOpenHashMap<V> linkedMap()
V - the type of elements maintained by this Collectionpublic <V> Float2ObjectLinkedOpenHashMap<V> linkedMap(int size)
V - the type of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Float2ObjectLinkedOpenHashMap<V> linkedMap(float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Float2ObjectLinkedOpenHashMap<V> linkedMap(java.lang.Float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Float2ObjectLinkedOpenHashMap<V> linkedMap(Float2ObjectMap<V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableFloat2ObjectOpenHashMap<V> linkedMap(java.util.Map<? extends java.lang.Float,? extends V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableFloat2ObjectOpenHashMap<V> immutable(float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> ImmutableFloat2ObjectOpenHashMap<V> immutable(java.lang.Float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> ImmutableFloat2ObjectOpenHashMap<V> immutable(Float2ObjectMap<V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableFloat2ObjectOpenHashMap<V> immutable(java.util.Map<? extends java.lang.Float,? extends V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> Float2ObjectOpenCustomHashMap<V> customMap(FloatStrategy strategy)
V - the type of elements maintained by this Collectionstrategy - the Hash Controllerpublic <V> Float2ObjectOpenCustomHashMap<V> customMap(int size, FloatStrategy strategy)
V - the type of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <V> Float2ObjectOpenCustomHashMap<V> customMap(float[] keys, V[] values, FloatStrategy strategy)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectOpenCustomHashMap<V> customMap(java.lang.Float[] keys, V[] values, FloatStrategy strategy)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectOpenCustomHashMap<V> customMap(Float2ObjectMap<V> map, FloatStrategy strategy)
V - the type of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Float2ObjectOpenCustomHashMap<V> customMap(java.util.Map<? extends java.lang.Float,? extends V> map, FloatStrategy strategy)
V - the type of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Float2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(FloatStrategy strategy)
V - the type of elements maintained by this Collectionstrategy - the Hash Controllerpublic <V> Float2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(int size, FloatStrategy strategy)
V - the type of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <V> Float2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(float[] keys, V[] values, FloatStrategy strategy)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(java.lang.Float[] keys, V[] values, FloatStrategy strategy)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(Float2ObjectMap<V> map, FloatStrategy strategy)
V - the type of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Float2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(java.util.Map<? extends java.lang.Float,? extends V> map, FloatStrategy strategy)
V - the type of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Float2ObjectArrayMap<V> arrayMap()
V - the type of elements maintained by this Collectionpublic <V> Float2ObjectArrayMap<V> arrayMap(int size)
V - the type of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Float2ObjectArrayMap<V> arrayMap(float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Float2ObjectArrayMap<V> arrayMap(java.lang.Float[] keys, V[] values)
V - the type of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Float2ObjectArrayMap<V> arrayMap(Float2ObjectMap<V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> Float2ObjectArrayMap<V> arrayMap(java.util.Map<? extends java.lang.Float,? extends V> map)
V - the type of elements maintained by this Collectionmap - that should be clonedpublic <V> Float2ObjectRBTreeMap<V> rbTreeMap()
V - the type of elements maintained by this Collectionpublic <V> Float2ObjectRBTreeMap<V> rbTreeMap(FloatComparator comp)
V - the type of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <V> Float2ObjectRBTreeMap<V> rbTreeMap(float[] keys, V[] values, FloatComparator comp)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectRBTreeMap<V> rbTreeMap(java.lang.Float[] keys, V[] values, FloatComparator comp)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectRBTreeMap<V> rbTreeMap(Float2ObjectMap<V> map, FloatComparator comp)
V - the type of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Float2ObjectRBTreeMap<V> rbTreeMap(java.util.Map<? extends java.lang.Float,? extends V> map, FloatComparator comp)
V - the type of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Float2ObjectAVLTreeMap<V> avlTreeMap()
V - the type of elements maintained by this Collectionpublic <V> Float2ObjectAVLTreeMap<V> avlTreeMap(FloatComparator comp)
V - the type of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <V> Float2ObjectAVLTreeMap<V> avlTreeMap(float[] keys, V[] values, FloatComparator comp)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectAVLTreeMap<V> avlTreeMap(java.lang.Float[] keys, V[] values, FloatComparator comp)
V - the type of elements maintained by this Collectionkeys - 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 <V> Float2ObjectAVLTreeMap<V> avlTreeMap(Float2ObjectMap<V> map, FloatComparator comp)
V - the type of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Float2ObjectAVLTreeMap<V> avlTreeMap(java.util.Map<? extends java.lang.Float,? extends V> map, FloatComparator comp)
V - the type of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMap