public static final class Double2CharMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Double2CharArrayMap |
arrayMap()
Helper function to unify code
|
Double2CharArrayMap |
arrayMap(double[] keys,
char[] values)
Helper function to unify code
|
Double2CharArrayMap |
arrayMap(java.lang.Double[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Double2CharArrayMap |
arrayMap(Double2CharMap map)
Helper function to unify code
|
Double2CharArrayMap |
arrayMap(int size)
Helper function to unify code
|
Double2CharArrayMap |
arrayMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
Helper function to unify code
|
Double2CharAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Double2CharAVLTreeMap |
avlTreeMap(double[] keys,
char[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2CharAVLTreeMap |
avlTreeMap(java.lang.Double[] keys,
java.lang.Character[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2CharAVLTreeMap |
avlTreeMap(Double2CharMap map,
DoubleComparator comp)
Helper function to unify code
|
Double2CharAVLTreeMap |
avlTreeMap(DoubleComparator comp)
Helper function to unify code
|
Double2CharAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map,
DoubleComparator comp)
Helper function to unify code
|
Double2CharLinkedOpenCustomHashMap |
customLinkedMap(double[] keys,
char[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Double[] keys,
java.lang.Character[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharLinkedOpenCustomHashMap |
customLinkedMap(Double2CharMap map,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharLinkedOpenCustomHashMap |
customLinkedMap(DoubleStrategy strategy)
Helper function to unify code
|
Double2CharLinkedOpenCustomHashMap |
customLinkedMap(int size,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharOpenCustomHashMap |
customMap(double[] keys,
char[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharOpenCustomHashMap |
customMap(java.lang.Double[] keys,
java.lang.Character[] values,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharOpenCustomHashMap |
customMap(Double2CharMap map,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharOpenCustomHashMap |
customMap(DoubleStrategy strategy)
Helper function to unify code
|
Double2CharOpenCustomHashMap |
customMap(int size,
DoubleStrategy strategy)
Helper function to unify code
|
Double2CharOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map,
DoubleStrategy strategy)
Helper function to unify code
|
ImmutableDouble2CharOpenHashMap |
immutable(double[] keys,
char[] values)
Helper function to unify code
|
ImmutableDouble2CharOpenHashMap |
immutable(java.lang.Double[] keys,
java.lang.Character[] values)
Helper function to unify code
|
ImmutableDouble2CharOpenHashMap |
immutable(Double2CharMap map)
Helper function to unify code
|
ImmutableDouble2CharOpenHashMap |
immutable(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
Helper function to unify code
|
Double2CharLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Double2CharLinkedOpenHashMap |
linkedMap(double[] keys,
char[] values)
Helper function to unify code
|
Double2CharLinkedOpenHashMap |
linkedMap(java.lang.Double[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Double2CharLinkedOpenHashMap |
linkedMap(Double2CharMap map)
Helper function to unify code
|
Double2CharLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableDouble2CharOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
Helper function to unify code
|
Double2CharOpenHashMap |
map()
Helper function to unify code
|
Double2CharOpenHashMap |
map(double[] keys,
char[] values)
Helper function to unify code
|
Double2CharOpenHashMap |
map(java.lang.Double[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Double2CharOpenHashMap |
map(Double2CharMap map)
Helper function to unify code
|
Double2CharOpenHashMap |
map(int size)
Helper function to unify code
|
Double2CharOpenHashMap |
map(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
Helper function to unify code
|
Double2CharMap.BuilderCache |
put(double key,
char 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
|
Double2CharMap.BuilderCache |
put(java.lang.Double key,
java.lang.Character 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
|
Double2CharRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Double2CharRBTreeMap |
rbTreeMap(double[] keys,
char[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2CharRBTreeMap |
rbTreeMap(java.lang.Double[] keys,
java.lang.Character[] values,
DoubleComparator comp)
Helper function to unify code
|
Double2CharRBTreeMap |
rbTreeMap(Double2CharMap map,
DoubleComparator comp)
Helper function to unify code
|
Double2CharRBTreeMap |
rbTreeMap(DoubleComparator comp)
Helper function to unify code
|
Double2CharRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map,
DoubleComparator comp)
Helper function to unify code
|
Double2CharMap.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
|
Double2CharMap.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 Double2CharMap.BuilderCache start()
public Double2CharMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Double2CharMap.BuilderCache put(double key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Double2CharMap.BuilderCache put(java.lang.Double key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Double2CharOpenHashMap map()
public Double2CharOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Double2CharOpenHashMap map(double[] keys, char[] 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 Double2CharOpenHashMap map(java.lang.Double[] keys, java.lang.Character[] 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 Double2CharOpenHashMap map(Double2CharMap map)
map - that should be clonedpublic Double2CharOpenHashMap map(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
map - that should be clonedpublic Double2CharLinkedOpenHashMap linkedMap()
public Double2CharLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Double2CharLinkedOpenHashMap linkedMap(double[] keys, char[] 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 Double2CharLinkedOpenHashMap linkedMap(java.lang.Double[] keys, java.lang.Character[] 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 Double2CharLinkedOpenHashMap linkedMap(Double2CharMap map)
map - that should be clonedpublic ImmutableDouble2CharOpenHashMap linkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
map - that should be clonedpublic ImmutableDouble2CharOpenHashMap immutable(double[] keys, char[] 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 ImmutableDouble2CharOpenHashMap immutable(java.lang.Double[] keys, java.lang.Character[] 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 ImmutableDouble2CharOpenHashMap immutable(Double2CharMap map)
map - that should be clonedpublic ImmutableDouble2CharOpenHashMap immutable(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
map - that should be clonedpublic Double2CharOpenCustomHashMap customMap(DoubleStrategy strategy)
strategy - the Hash Controllerpublic Double2CharOpenCustomHashMap customMap(int size, DoubleStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Double2CharOpenCustomHashMap customMap(double[] keys, char[] 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 Double2CharOpenCustomHashMap customMap(java.lang.Double[] keys, java.lang.Character[] 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 Double2CharOpenCustomHashMap customMap(Double2CharMap map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2CharOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2CharLinkedOpenCustomHashMap customLinkedMap(DoubleStrategy strategy)
strategy - the Hash Controllerpublic Double2CharLinkedOpenCustomHashMap customLinkedMap(int size, DoubleStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Double2CharLinkedOpenCustomHashMap customLinkedMap(double[] keys, char[] 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 Double2CharLinkedOpenCustomHashMap customLinkedMap(java.lang.Double[] keys, java.lang.Character[] 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 Double2CharLinkedOpenCustomHashMap customLinkedMap(Double2CharMap map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2CharLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map, DoubleStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Double2CharArrayMap arrayMap()
public Double2CharArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Double2CharArrayMap arrayMap(double[] keys, char[] 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 Double2CharArrayMap arrayMap(java.lang.Double[] keys, java.lang.Character[] 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 Double2CharArrayMap arrayMap(Double2CharMap map)
map - that should be clonedpublic Double2CharArrayMap arrayMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map)
map - that should be clonedpublic Double2CharRBTreeMap rbTreeMap()
public Double2CharRBTreeMap rbTreeMap(DoubleComparator comp)
comp - the Sorter of the TreeMappublic Double2CharRBTreeMap rbTreeMap(double[] keys, char[] 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 Double2CharRBTreeMap rbTreeMap(java.lang.Double[] keys, java.lang.Character[] 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 Double2CharRBTreeMap rbTreeMap(Double2CharMap map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Double2CharRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Double2CharAVLTreeMap avlTreeMap()
public Double2CharAVLTreeMap avlTreeMap(DoubleComparator comp)
comp - the Sorter of the TreeMappublic Double2CharAVLTreeMap avlTreeMap(double[] keys, char[] 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 Double2CharAVLTreeMap avlTreeMap(java.lang.Double[] keys, java.lang.Character[] 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 Double2CharAVLTreeMap avlTreeMap(Double2CharMap map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Double2CharAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Double,? extends java.lang.Character> map, DoubleComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap