public static final class Char2DoubleMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Char2DoubleArrayMap |
arrayMap()
Helper function to unify code
|
Char2DoubleArrayMap |
arrayMap(char[] keys,
double[] values)
Helper function to unify code
|
Char2DoubleArrayMap |
arrayMap(Char2DoubleMap map)
Helper function to unify code
|
Char2DoubleArrayMap |
arrayMap(java.lang.Character[] keys,
java.lang.Double[] values)
Helper function to unify code
|
Char2DoubleArrayMap |
arrayMap(int size)
Helper function to unify code
|
Char2DoubleArrayMap |
arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
Helper function to unify code
|
Char2DoubleAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Char2DoubleAVLTreeMap |
avlTreeMap(char[] keys,
double[] values,
CharComparator comp)
Helper function to unify code
|
Char2DoubleAVLTreeMap |
avlTreeMap(Char2DoubleMap map,
CharComparator comp)
Helper function to unify code
|
Char2DoubleAVLTreeMap |
avlTreeMap(java.lang.Character[] keys,
java.lang.Double[] values,
CharComparator comp)
Helper function to unify code
|
Char2DoubleAVLTreeMap |
avlTreeMap(CharComparator comp)
Helper function to unify code
|
Char2DoubleAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map,
CharComparator comp)
Helper function to unify code
|
Char2DoubleLinkedOpenCustomHashMap |
customLinkedMap(char[] keys,
double[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleLinkedOpenCustomHashMap |
customLinkedMap(Char2DoubleMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Character[] keys,
java.lang.Double[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Helper function to unify code
|
Char2DoubleLinkedOpenCustomHashMap |
customLinkedMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleOpenCustomHashMap |
customMap(char[] keys,
double[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleOpenCustomHashMap |
customMap(Char2DoubleMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleOpenCustomHashMap |
customMap(java.lang.Character[] keys,
java.lang.Double[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleOpenCustomHashMap |
customMap(CharStrategy strategy)
Helper function to unify code
|
Char2DoubleOpenCustomHashMap |
customMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2DoubleOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map,
CharStrategy strategy)
Helper function to unify code
|
ImmutableChar2DoubleOpenHashMap |
immutable(char[] keys,
double[] values)
Helper function to unify code
|
ImmutableChar2DoubleOpenHashMap |
immutable(Char2DoubleMap map)
Helper function to unify code
|
ImmutableChar2DoubleOpenHashMap |
immutable(java.lang.Character[] keys,
java.lang.Double[] values)
Helper function to unify code
|
ImmutableChar2DoubleOpenHashMap |
immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
Helper function to unify code
|
Char2DoubleLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Char2DoubleLinkedOpenHashMap |
linkedMap(char[] keys,
double[] values)
Helper function to unify code
|
Char2DoubleLinkedOpenHashMap |
linkedMap(Char2DoubleMap map)
Helper function to unify code
|
Char2DoubleLinkedOpenHashMap |
linkedMap(java.lang.Character[] keys,
java.lang.Double[] values)
Helper function to unify code
|
Char2DoubleLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableChar2DoubleOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
Helper function to unify code
|
Char2DoubleOpenHashMap |
map()
Helper function to unify code
|
Char2DoubleOpenHashMap |
map(char[] keys,
double[] values)
Helper function to unify code
|
Char2DoubleOpenHashMap |
map(Char2DoubleMap map)
Helper function to unify code
|
Char2DoubleOpenHashMap |
map(java.lang.Character[] keys,
java.lang.Double[] values)
Helper function to unify code
|
Char2DoubleOpenHashMap |
map(int size)
Helper function to unify code
|
Char2DoubleOpenHashMap |
map(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
Helper function to unify code
|
Char2DoubleMap.BuilderCache |
put(java.lang.Character 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
|
Char2DoubleMap.BuilderCache |
put(char 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
|
Char2DoubleRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Char2DoubleRBTreeMap |
rbTreeMap(char[] keys,
double[] values,
CharComparator comp)
Helper function to unify code
|
Char2DoubleRBTreeMap |
rbTreeMap(Char2DoubleMap map,
CharComparator comp)
Helper function to unify code
|
Char2DoubleRBTreeMap |
rbTreeMap(java.lang.Character[] keys,
java.lang.Double[] values,
CharComparator comp)
Helper function to unify code
|
Char2DoubleRBTreeMap |
rbTreeMap(CharComparator comp)
Helper function to unify code
|
Char2DoubleRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map,
CharComparator comp)
Helper function to unify code
|
Char2DoubleMap.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
|
Char2DoubleMap.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 Char2DoubleMap.BuilderCache start()
public Char2DoubleMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Char2DoubleMap.BuilderCache put(char key, double value)
key - the key that should be addedvalue - the value that should be addedpublic Char2DoubleMap.BuilderCache put(java.lang.Character key, java.lang.Double value)
key - the key that should be addedvalue - the value that should be addedpublic Char2DoubleOpenHashMap map()
public Char2DoubleOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Char2DoubleOpenHashMap map(char[] 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 Char2DoubleOpenHashMap map(java.lang.Character[] 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 Char2DoubleOpenHashMap map(Char2DoubleMap map)
map - that should be clonedpublic Char2DoubleOpenHashMap map(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
map - that should be clonedpublic Char2DoubleLinkedOpenHashMap linkedMap()
public Char2DoubleLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Char2DoubleLinkedOpenHashMap linkedMap(char[] 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 Char2DoubleLinkedOpenHashMap linkedMap(java.lang.Character[] 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 Char2DoubleLinkedOpenHashMap linkedMap(Char2DoubleMap map)
map - that should be clonedpublic ImmutableChar2DoubleOpenHashMap linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
map - that should be clonedpublic ImmutableChar2DoubleOpenHashMap immutable(char[] 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 ImmutableChar2DoubleOpenHashMap immutable(java.lang.Character[] 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 ImmutableChar2DoubleOpenHashMap immutable(Char2DoubleMap map)
map - that should be clonedpublic ImmutableChar2DoubleOpenHashMap immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
map - that should be clonedpublic Char2DoubleOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2DoubleOpenCustomHashMap customMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2DoubleOpenCustomHashMap customMap(char[] keys, double[] values, CharStrategy 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 Char2DoubleOpenCustomHashMap customMap(java.lang.Character[] keys, java.lang.Double[] values, CharStrategy 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 Char2DoubleOpenCustomHashMap customMap(Char2DoubleMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2DoubleOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2DoubleLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2DoubleLinkedOpenCustomHashMap customLinkedMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2DoubleLinkedOpenCustomHashMap customLinkedMap(char[] keys, double[] values, CharStrategy 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 Char2DoubleLinkedOpenCustomHashMap customLinkedMap(java.lang.Character[] keys, java.lang.Double[] values, CharStrategy 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 Char2DoubleLinkedOpenCustomHashMap customLinkedMap(Char2DoubleMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2DoubleLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2DoubleArrayMap arrayMap()
public Char2DoubleArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Char2DoubleArrayMap arrayMap(char[] 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 Char2DoubleArrayMap arrayMap(java.lang.Character[] 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 Char2DoubleArrayMap arrayMap(Char2DoubleMap map)
map - that should be clonedpublic Char2DoubleArrayMap arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map)
map - that should be clonedpublic Char2DoubleRBTreeMap rbTreeMap()
public Char2DoubleRBTreeMap rbTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2DoubleRBTreeMap rbTreeMap(char[] keys, double[] values, CharComparator 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 Char2DoubleRBTreeMap rbTreeMap(java.lang.Character[] keys, java.lang.Double[] values, CharComparator 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 Char2DoubleRBTreeMap rbTreeMap(Char2DoubleMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2DoubleRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2DoubleAVLTreeMap avlTreeMap()
public Char2DoubleAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2DoubleAVLTreeMap avlTreeMap(char[] keys, double[] values, CharComparator 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 Char2DoubleAVLTreeMap avlTreeMap(java.lang.Character[] keys, java.lang.Double[] values, CharComparator 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 Char2DoubleAVLTreeMap avlTreeMap(Char2DoubleMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2DoubleAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Double> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap