public static final class Byte2FloatMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Byte2FloatArrayMap |
arrayMap()
Helper function to unify code
|
Byte2FloatArrayMap |
arrayMap(byte[] keys,
float[] values)
Helper function to unify code
|
Byte2FloatArrayMap |
arrayMap(java.lang.Byte[] keys,
java.lang.Float[] values)
Helper function to unify code
|
Byte2FloatArrayMap |
arrayMap(Byte2FloatMap map)
Helper function to unify code
|
Byte2FloatArrayMap |
arrayMap(int size)
Helper function to unify code
|
Byte2FloatArrayMap |
arrayMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
Helper function to unify code
|
Byte2FloatAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Byte2FloatAVLTreeMap |
avlTreeMap(byte[] keys,
float[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatAVLTreeMap |
avlTreeMap(java.lang.Byte[] keys,
java.lang.Float[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatAVLTreeMap |
avlTreeMap(Byte2FloatMap map,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatAVLTreeMap |
avlTreeMap(ByteComparator comp)
Helper function to unify code
|
Byte2FloatAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatLinkedOpenCustomHashMap |
customLinkedMap(byte[] keys,
float[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Byte[] keys,
java.lang.Float[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatLinkedOpenCustomHashMap |
customLinkedMap(Byte2FloatMap map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatLinkedOpenCustomHashMap |
customLinkedMap(ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatLinkedOpenCustomHashMap |
customLinkedMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatOpenCustomHashMap |
customMap(byte[] keys,
float[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatOpenCustomHashMap |
customMap(java.lang.Byte[] keys,
java.lang.Float[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatOpenCustomHashMap |
customMap(Byte2FloatMap map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatOpenCustomHashMap |
customMap(ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatOpenCustomHashMap |
customMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
Byte2FloatOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map,
ByteStrategy strategy)
Helper function to unify code
|
ImmutableByte2FloatOpenHashMap |
immutable(byte[] keys,
float[] values)
Helper function to unify code
|
ImmutableByte2FloatOpenHashMap |
immutable(java.lang.Byte[] keys,
java.lang.Float[] values)
Helper function to unify code
|
ImmutableByte2FloatOpenHashMap |
immutable(Byte2FloatMap map)
Helper function to unify code
|
ImmutableByte2FloatOpenHashMap |
immutable(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
Helper function to unify code
|
Byte2FloatLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Byte2FloatLinkedOpenHashMap |
linkedMap(byte[] keys,
float[] values)
Helper function to unify code
|
Byte2FloatLinkedOpenHashMap |
linkedMap(java.lang.Byte[] keys,
java.lang.Float[] values)
Helper function to unify code
|
Byte2FloatLinkedOpenHashMap |
linkedMap(Byte2FloatMap map)
Helper function to unify code
|
Byte2FloatLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableByte2FloatOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
Helper function to unify code
|
Byte2FloatOpenHashMap |
map()
Helper function to unify code
|
Byte2FloatOpenHashMap |
map(byte[] keys,
float[] values)
Helper function to unify code
|
Byte2FloatOpenHashMap |
map(java.lang.Byte[] keys,
java.lang.Float[] values)
Helper function to unify code
|
Byte2FloatOpenHashMap |
map(Byte2FloatMap map)
Helper function to unify code
|
Byte2FloatOpenHashMap |
map(int size)
Helper function to unify code
|
Byte2FloatOpenHashMap |
map(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
Helper function to unify code
|
Byte2FloatMap.BuilderCache |
put(byte 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
|
Byte2FloatMap.BuilderCache |
put(java.lang.Byte 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
|
Byte2FloatRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Byte2FloatRBTreeMap |
rbTreeMap(byte[] keys,
float[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatRBTreeMap |
rbTreeMap(java.lang.Byte[] keys,
java.lang.Float[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatRBTreeMap |
rbTreeMap(Byte2FloatMap map,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatRBTreeMap |
rbTreeMap(ByteComparator comp)
Helper function to unify code
|
Byte2FloatRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map,
ByteComparator comp)
Helper function to unify code
|
Byte2FloatMap.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
|
Byte2FloatMap.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 Byte2FloatMap.BuilderCache start()
public Byte2FloatMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Byte2FloatMap.BuilderCache put(byte key, float value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2FloatMap.BuilderCache put(java.lang.Byte key, java.lang.Float value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2FloatOpenHashMap map()
public Byte2FloatOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Byte2FloatOpenHashMap map(byte[] 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 Byte2FloatOpenHashMap map(java.lang.Byte[] 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 Byte2FloatOpenHashMap map(Byte2FloatMap map)
map - that should be clonedpublic Byte2FloatOpenHashMap map(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
map - that should be clonedpublic Byte2FloatLinkedOpenHashMap linkedMap()
public Byte2FloatLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Byte2FloatLinkedOpenHashMap linkedMap(byte[] 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 Byte2FloatLinkedOpenHashMap linkedMap(java.lang.Byte[] 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 Byte2FloatLinkedOpenHashMap linkedMap(Byte2FloatMap map)
map - that should be clonedpublic ImmutableByte2FloatOpenHashMap linkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
map - that should be clonedpublic ImmutableByte2FloatOpenHashMap immutable(byte[] 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 ImmutableByte2FloatOpenHashMap immutable(java.lang.Byte[] 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 ImmutableByte2FloatOpenHashMap immutable(Byte2FloatMap map)
map - that should be clonedpublic ImmutableByte2FloatOpenHashMap immutable(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
map - that should be clonedpublic Byte2FloatOpenCustomHashMap customMap(ByteStrategy strategy)
strategy - the Hash Controllerpublic Byte2FloatOpenCustomHashMap customMap(int size, ByteStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Byte2FloatOpenCustomHashMap customMap(byte[] keys, float[] values, ByteStrategy 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 Byte2FloatOpenCustomHashMap customMap(java.lang.Byte[] keys, java.lang.Float[] values, ByteStrategy 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 Byte2FloatOpenCustomHashMap customMap(Byte2FloatMap map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2FloatOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2FloatLinkedOpenCustomHashMap customLinkedMap(ByteStrategy strategy)
strategy - the Hash Controllerpublic Byte2FloatLinkedOpenCustomHashMap customLinkedMap(int size, ByteStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Byte2FloatLinkedOpenCustomHashMap customLinkedMap(byte[] keys, float[] values, ByteStrategy 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 Byte2FloatLinkedOpenCustomHashMap customLinkedMap(java.lang.Byte[] keys, java.lang.Float[] values, ByteStrategy 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 Byte2FloatLinkedOpenCustomHashMap customLinkedMap(Byte2FloatMap map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2FloatLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2FloatArrayMap arrayMap()
public Byte2FloatArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Byte2FloatArrayMap arrayMap(byte[] 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 Byte2FloatArrayMap arrayMap(java.lang.Byte[] 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 Byte2FloatArrayMap arrayMap(Byte2FloatMap map)
map - that should be clonedpublic Byte2FloatArrayMap arrayMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map)
map - that should be clonedpublic Byte2FloatRBTreeMap rbTreeMap()
public Byte2FloatRBTreeMap rbTreeMap(ByteComparator comp)
comp - the Sorter of the TreeMappublic Byte2FloatRBTreeMap rbTreeMap(byte[] keys, float[] values, ByteComparator 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 Byte2FloatRBTreeMap rbTreeMap(java.lang.Byte[] keys, java.lang.Float[] values, ByteComparator 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 Byte2FloatRBTreeMap rbTreeMap(Byte2FloatMap map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2FloatRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2FloatAVLTreeMap avlTreeMap()
public Byte2FloatAVLTreeMap avlTreeMap(ByteComparator comp)
comp - the Sorter of the TreeMappublic Byte2FloatAVLTreeMap avlTreeMap(byte[] keys, float[] values, ByteComparator 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 Byte2FloatAVLTreeMap avlTreeMap(java.lang.Byte[] keys, java.lang.Float[] values, ByteComparator 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 Byte2FloatAVLTreeMap avlTreeMap(Byte2FloatMap map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2FloatAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Float> map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap