public static final class Double2LongMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Double2LongArrayMap |
arrayMap()
Helper function to unify code
|
Double2LongArrayMap |
arrayMap(double[] keys,
long[] values)
Helper function to unify code
|
Double2LongArrayMap |
arrayMap(java.lang.Double[] keys,
java.lang.Long[] values)
Helper function to unify code
|
Double2LongArrayMap |
arrayMap(Double2LongMap map)
Helper function to unify code
|
Double2LongArrayMap |
arrayMap(int size)
Helper function to unify code
|
Double2LongArrayMap |
arrayMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
Helper function to unify code
|
Double2LongAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Double2LongAVLTreeMap |
avlTreeMap(double[] keys,
long[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2LongAVLTreeMap |
avlTreeMap(java.lang.Double[] keys,
java.lang.Long[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2LongAVLTreeMap |
avlTreeMap(Double2LongMap map,
DoubleComparator comp)
Helper function to unify code
|
Double2LongAVLTreeMap |
avlTreeMap(DoubleComparator comp)
Helper function to unify code
|
Double2LongAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map,
DoubleComparator comp)
Helper function to unify code
|
Double2LongLinkedOpenCustomHashMap |
customLinkedMap(double[] keys,
long[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Double[] keys,
java.lang.Long[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongLinkedOpenCustomHashMap |
customLinkedMap(Double2LongMap map,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongLinkedOpenCustomHashMap |
customLinkedMap(DoubleStrategy strategy)
Helper function to unify code
|
Double2LongLinkedOpenCustomHashMap |
customLinkedMap(int size,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongOpenCustomHashMap |
customMap(double[] keys,
long[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongOpenCustomHashMap |
customMap(java.lang.Double[] keys,
java.lang.Long[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongOpenCustomHashMap |
customMap(Double2LongMap map,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongOpenCustomHashMap |
customMap(DoubleStrategy strategy)
Helper function to unify code
|
Double2LongOpenCustomHashMap |
customMap(int size,
DoubleStrategy strategy)
Helper function to unify code
|
Double2LongOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map,
DoubleStrategy strategy)
Helper function to unify code
|
ImmutableDouble2LongOpenHashMap |
immutable(double[] keys,
long[] values)
Helper function to unify code
|
ImmutableDouble2LongOpenHashMap |
immutable(java.lang.Double[] keys,
java.lang.Long[] values)
Helper function to unify code
|
ImmutableDouble2LongOpenHashMap |
immutable(Double2LongMap map)
Helper function to unify code
|
ImmutableDouble2LongOpenHashMap |
immutable(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
Helper function to unify code
|
Double2LongLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Double2LongLinkedOpenHashMap |
linkedMap(double[] keys,
long[] values)
Helper function to unify code
|
Double2LongLinkedOpenHashMap |
linkedMap(java.lang.Double[] keys,
java.lang.Long[] values)
Helper function to unify code
|
Double2LongLinkedOpenHashMap |
linkedMap(Double2LongMap map)
Helper function to unify code
|
Double2LongLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableDouble2LongOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
Helper function to unify code
|
Double2LongOpenHashMap |
map()
Helper function to unify code
|
Double2LongOpenHashMap |
map(double[] keys,
long[] values)
Helper function to unify code
|
Double2LongOpenHashMap |
map(java.lang.Double[] keys,
java.lang.Long[] values)
Helper function to unify code
|
Double2LongOpenHashMap |
map(Double2LongMap map)
Helper function to unify code
|
Double2LongOpenHashMap |
map(int size)
Helper function to unify code
|
Double2LongOpenHashMap |
map(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
Helper function to unify code
|
Double2LongMap.BuilderCache |
put(double key,
long 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
|
Double2LongMap.BuilderCache |
put(java.lang.Double key,
java.lang.Long 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
|
Double2LongRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Double2LongRBTreeMap |
rbTreeMap(double[] keys,
long[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2LongRBTreeMap |
rbTreeMap(java.lang.Double[] keys,
java.lang.Long[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2LongRBTreeMap |
rbTreeMap(Double2LongMap map,
DoubleComparator comp)
Helper function to unify code
|
Double2LongRBTreeMap |
rbTreeMap(DoubleComparator comp)
Helper function to unify code
|
Double2LongRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map,
DoubleComparator comp)
Helper function to unify code
|
Double2LongMap.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
|
Double2LongMap.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 Double2LongMap.BuilderCache start()
public Double2LongMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Double2LongMap.BuilderCache put(double key, long value)
key - the key that should be addedvalue - the value that should be addedpublic Double2LongMap.BuilderCache put(java.lang.Double key, java.lang.Long value)
key - the key that should be addedvalue - the value that should be addedpublic Double2LongOpenHashMap map()
public Double2LongOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Double2LongOpenHashMap map(double[] keys, long[] 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 Double2LongOpenHashMap map(java.lang.Double[] keys, java.lang.Long[] 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 Double2LongOpenHashMap map(Double2LongMap map)
map - that should be clonedpublic Double2LongOpenHashMap map(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
map - that should be clonedpublic Double2LongLinkedOpenHashMap linkedMap()
public Double2LongLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Double2LongLinkedOpenHashMap linkedMap(double[] keys, long[] 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 Double2LongLinkedOpenHashMap linkedMap(java.lang.Double[] keys, java.lang.Long[] 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 Double2LongLinkedOpenHashMap linkedMap(Double2LongMap map)
map - that should be clonedpublic ImmutableDouble2LongOpenHashMap linkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
map - that should be clonedpublic ImmutableDouble2LongOpenHashMap immutable(double[] keys, long[] 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 ImmutableDouble2LongOpenHashMap immutable(java.lang.Double[] keys, java.lang.Long[] 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 ImmutableDouble2LongOpenHashMap immutable(Double2LongMap map)
map - that should be clonedpublic ImmutableDouble2LongOpenHashMap immutable(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
map - that should be clonedpublic Double2LongOpenCustomHashMap customMap(DoubleStrategy strategy)
strategy - the Hash Controllerpublic Double2LongOpenCustomHashMap customMap(int size, DoubleStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Double2LongOpenCustomHashMap customMap(double[] keys, long[] values, DoubleStrategy 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 Double2LongOpenCustomHashMap customMap(java.lang.Double[] keys, java.lang.Long[] values, DoubleStrategy 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 Double2LongOpenCustomHashMap customMap(Double2LongMap map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2LongOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2LongLinkedOpenCustomHashMap customLinkedMap(DoubleStrategy strategy)
strategy - the Hash Controllerpublic Double2LongLinkedOpenCustomHashMap customLinkedMap(int size, DoubleStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Double2LongLinkedOpenCustomHashMap customLinkedMap(double[] keys, long[] values, DoubleStrategy 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 Double2LongLinkedOpenCustomHashMap customLinkedMap(java.lang.Double[] keys, java.lang.Long[] values, DoubleStrategy 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 Double2LongLinkedOpenCustomHashMap customLinkedMap(Double2LongMap map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2LongLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2LongArrayMap arrayMap()
public Double2LongArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Double2LongArrayMap arrayMap(double[] keys, long[] 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 Double2LongArrayMap arrayMap(java.lang.Double[] keys, java.lang.Long[] 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 Double2LongArrayMap arrayMap(Double2LongMap map)
map - that should be clonedpublic Double2LongArrayMap arrayMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map)
map - that should be clonedpublic Double2LongRBTreeMap rbTreeMap()
public Double2LongRBTreeMap rbTreeMap(DoubleComparator comp)
comp - the Sorter of the TreeMappublic Double2LongRBTreeMap rbTreeMap(double[] keys, long[] values, DoubleComparator 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 Double2LongRBTreeMap rbTreeMap(java.lang.Double[] keys, java.lang.Long[] values, DoubleComparator 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 Double2LongRBTreeMap rbTreeMap(Double2LongMap map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Double2LongRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Double2LongAVLTreeMap avlTreeMap()
public Double2LongAVLTreeMap avlTreeMap(DoubleComparator comp)
comp - the Sorter of the TreeMappublic Double2LongAVLTreeMap avlTreeMap(double[] keys, long[] values, DoubleComparator 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 Double2LongAVLTreeMap avlTreeMap(java.lang.Double[] keys, java.lang.Long[] values, DoubleComparator 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 Double2LongAVLTreeMap avlTreeMap(Double2LongMap map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Double2LongAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Long> map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap