public static final class Byte2DoubleMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Byte2DoubleArrayMap |
arrayMap()
Helper function to unify code
|
Byte2DoubleArrayMap |
arrayMap(byte[] keys,
double[] values)
Helper function to unify code
|
Byte2DoubleArrayMap |
arrayMap(java.lang.Byte[] keys,
java.lang.Double[] values)
Helper function to unify code
|
Byte2DoubleArrayMap |
arrayMap(Byte2DoubleMap map)
Helper function to unify code
|
Byte2DoubleArrayMap |
arrayMap(int size)
Helper function to unify code
|
Byte2DoubleArrayMap |
arrayMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
Helper function to unify code
|
Byte2DoubleAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Byte2DoubleAVLTreeMap |
avlTreeMap(byte[] keys,
double[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleAVLTreeMap |
avlTreeMap(java.lang.Byte[] keys,
java.lang.Double[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleAVLTreeMap |
avlTreeMap(Byte2DoubleMap map,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleAVLTreeMap |
avlTreeMap(ByteComparator comp)
Helper function to unify code
|
Byte2DoubleAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleLinkedOpenCustomHashMap |
customLinkedMap(byte[] keys,
double[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Byte[] keys,
java.lang.Double[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleLinkedOpenCustomHashMap |
customLinkedMap(Byte2DoubleMap map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleLinkedOpenCustomHashMap |
customLinkedMap(ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleLinkedOpenCustomHashMap |
customLinkedMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleOpenCustomHashMap |
customMap(byte[] keys,
double[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleOpenCustomHashMap |
customMap(java.lang.Byte[] keys,
java.lang.Double[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleOpenCustomHashMap |
customMap(Byte2DoubleMap map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleOpenCustomHashMap |
customMap(ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleOpenCustomHashMap |
customMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
Byte2DoubleOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map,
ByteStrategy strategy)
Helper function to unify code
|
ImmutableByte2DoubleOpenHashMap |
immutable(byte[] keys,
double[] values)
Helper function to unify code
|
ImmutableByte2DoubleOpenHashMap |
immutable(java.lang.Byte[] keys,
java.lang.Double[] values)
Helper function to unify code
|
ImmutableByte2DoubleOpenHashMap |
immutable(Byte2DoubleMap map)
Helper function to unify code
|
ImmutableByte2DoubleOpenHashMap |
immutable(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
Helper function to unify code
|
Byte2DoubleLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Byte2DoubleLinkedOpenHashMap |
linkedMap(byte[] keys,
double[] values)
Helper function to unify code
|
Byte2DoubleLinkedOpenHashMap |
linkedMap(java.lang.Byte[] keys,
java.lang.Double[] values)
Helper function to unify code
|
Byte2DoubleLinkedOpenHashMap |
linkedMap(Byte2DoubleMap map)
Helper function to unify code
|
Byte2DoubleLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableByte2DoubleOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
Helper function to unify code
|
Byte2DoubleOpenHashMap |
map()
Helper function to unify code
|
Byte2DoubleOpenHashMap |
map(byte[] keys,
double[] values)
Helper function to unify code
|
Byte2DoubleOpenHashMap |
map(java.lang.Byte[] keys,
java.lang.Double[] values)
Helper function to unify code
|
Byte2DoubleOpenHashMap |
map(Byte2DoubleMap map)
Helper function to unify code
|
Byte2DoubleOpenHashMap |
map(int size)
Helper function to unify code
|
Byte2DoubleOpenHashMap |
map(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
Helper function to unify code
|
Byte2DoubleMap.BuilderCache |
put(byte key,
double 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
|
Byte2DoubleMap.BuilderCache |
put(java.lang.Byte key,
java.lang.Double 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
|
Byte2DoubleRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Byte2DoubleRBTreeMap |
rbTreeMap(byte[] keys,
double[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleRBTreeMap |
rbTreeMap(java.lang.Byte[] keys,
java.lang.Double[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleRBTreeMap |
rbTreeMap(Byte2DoubleMap map,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleRBTreeMap |
rbTreeMap(ByteComparator comp)
Helper function to unify code
|
Byte2DoubleRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map,
ByteComparator comp)
Helper function to unify code
|
Byte2DoubleMap.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
|
Byte2DoubleMap.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 Byte2DoubleMap.BuilderCache start()
public Byte2DoubleMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Byte2DoubleMap.BuilderCache put(byte key, double value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2DoubleMap.BuilderCache put(java.lang.Byte key, java.lang.Double value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2DoubleOpenHashMap map()
public Byte2DoubleOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Byte2DoubleOpenHashMap map(byte[] keys, double[] 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 Byte2DoubleOpenHashMap map(java.lang.Byte[] keys, java.lang.Double[] 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 Byte2DoubleOpenHashMap map(Byte2DoubleMap map)
map - that should be clonedpublic Byte2DoubleOpenHashMap map(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
map - that should be clonedpublic Byte2DoubleLinkedOpenHashMap linkedMap()
public Byte2DoubleLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Byte2DoubleLinkedOpenHashMap linkedMap(byte[] keys, double[] 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 Byte2DoubleLinkedOpenHashMap linkedMap(java.lang.Byte[] keys, java.lang.Double[] 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 Byte2DoubleLinkedOpenHashMap linkedMap(Byte2DoubleMap map)
map - that should be clonedpublic ImmutableByte2DoubleOpenHashMap linkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
map - that should be clonedpublic ImmutableByte2DoubleOpenHashMap immutable(byte[] keys, double[] 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 ImmutableByte2DoubleOpenHashMap immutable(java.lang.Byte[] keys, java.lang.Double[] 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 ImmutableByte2DoubleOpenHashMap immutable(Byte2DoubleMap map)
map - that should be clonedpublic ImmutableByte2DoubleOpenHashMap immutable(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
map - that should be clonedpublic Byte2DoubleOpenCustomHashMap customMap(ByteStrategy strategy)
strategy - the Hash Controllerpublic Byte2DoubleOpenCustomHashMap customMap(int size, ByteStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Byte2DoubleOpenCustomHashMap customMap(byte[] keys, double[] 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 Byte2DoubleOpenCustomHashMap customMap(java.lang.Byte[] keys, java.lang.Double[] 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 Byte2DoubleOpenCustomHashMap customMap(Byte2DoubleMap map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2DoubleOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2DoubleLinkedOpenCustomHashMap customLinkedMap(ByteStrategy strategy)
strategy - the Hash Controllerpublic Byte2DoubleLinkedOpenCustomHashMap customLinkedMap(int size, ByteStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Byte2DoubleLinkedOpenCustomHashMap customLinkedMap(byte[] keys, double[] 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 Byte2DoubleLinkedOpenCustomHashMap customLinkedMap(java.lang.Byte[] keys, java.lang.Double[] 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 Byte2DoubleLinkedOpenCustomHashMap customLinkedMap(Byte2DoubleMap map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2DoubleLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2DoubleArrayMap arrayMap()
public Byte2DoubleArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Byte2DoubleArrayMap arrayMap(byte[] keys, double[] 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 Byte2DoubleArrayMap arrayMap(java.lang.Byte[] keys, java.lang.Double[] 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 Byte2DoubleArrayMap arrayMap(Byte2DoubleMap map)
map - that should be clonedpublic Byte2DoubleArrayMap arrayMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map)
map - that should be clonedpublic Byte2DoubleRBTreeMap rbTreeMap()
public Byte2DoubleRBTreeMap rbTreeMap(ByteComparator comp)
comp - the Sorter of the TreeMappublic Byte2DoubleRBTreeMap rbTreeMap(byte[] keys, double[] 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 Byte2DoubleRBTreeMap rbTreeMap(java.lang.Byte[] keys, java.lang.Double[] 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 Byte2DoubleRBTreeMap rbTreeMap(Byte2DoubleMap map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2DoubleRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2DoubleAVLTreeMap avlTreeMap()
public Byte2DoubleAVLTreeMap avlTreeMap(ByteComparator comp)
comp - the Sorter of the TreeMappublic Byte2DoubleAVLTreeMap avlTreeMap(byte[] keys, double[] 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 Byte2DoubleAVLTreeMap avlTreeMap(java.lang.Byte[] keys, java.lang.Double[] 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 Byte2DoubleAVLTreeMap avlTreeMap(Byte2DoubleMap map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2DoubleAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Double> map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap