public static final class Long2CharMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Long2CharArrayMap |
arrayMap()
Helper function to unify code
|
Long2CharArrayMap |
arrayMap(int size)
Helper function to unify code
|
Long2CharArrayMap |
arrayMap(long[] keys,
char[] values)
Helper function to unify code
|
Long2CharArrayMap |
arrayMap(java.lang.Long[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Long2CharArrayMap |
arrayMap(Long2CharMap map)
Helper function to unify code
|
Long2CharArrayMap |
arrayMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
Helper function to unify code
|
Long2CharAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Long2CharAVLTreeMap |
avlTreeMap(long[] keys,
char[] values,
LongComparator comp)
Helper function to unify code
|
Long2CharAVLTreeMap |
avlTreeMap(java.lang.Long[] keys,
java.lang.Character[] values,
LongComparator comp)
Helper function to unify code
|
Long2CharAVLTreeMap |
avlTreeMap(Long2CharMap map,
LongComparator comp)
Helper function to unify code
|
Long2CharAVLTreeMap |
avlTreeMap(LongComparator comp)
Helper function to unify code
|
Long2CharAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map,
LongComparator comp)
Helper function to unify code
|
Long2CharLinkedOpenCustomHashMap |
customLinkedMap(int size,
LongStrategy strategy)
Helper function to unify code
|
Long2CharLinkedOpenCustomHashMap |
customLinkedMap(long[] keys,
char[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2CharLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Long[] keys,
java.lang.Character[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2CharLinkedOpenCustomHashMap |
customLinkedMap(Long2CharMap map,
LongStrategy strategy)
Helper function to unify code
|
Long2CharLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Helper function to unify code
|
Long2CharLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map,
LongStrategy strategy)
Helper function to unify code
|
Long2CharOpenCustomHashMap |
customMap(int size,
LongStrategy strategy)
Helper function to unify code
|
Long2CharOpenCustomHashMap |
customMap(long[] keys,
char[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2CharOpenCustomHashMap |
customMap(java.lang.Long[] keys,
java.lang.Character[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2CharOpenCustomHashMap |
customMap(Long2CharMap map,
LongStrategy strategy)
Helper function to unify code
|
Long2CharOpenCustomHashMap |
customMap(LongStrategy strategy)
Helper function to unify code
|
Long2CharOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map,
LongStrategy strategy)
Helper function to unify code
|
ImmutableLong2CharOpenHashMap |
immutable(long[] keys,
char[] values)
Helper function to unify code
|
ImmutableLong2CharOpenHashMap |
immutable(java.lang.Long[] keys,
java.lang.Character[] values)
Helper function to unify code
|
ImmutableLong2CharOpenHashMap |
immutable(Long2CharMap map)
Helper function to unify code
|
ImmutableLong2CharOpenHashMap |
immutable(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
Helper function to unify code
|
Long2CharLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Long2CharLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
Long2CharLinkedOpenHashMap |
linkedMap(long[] keys,
char[] values)
Helper function to unify code
|
Long2CharLinkedOpenHashMap |
linkedMap(java.lang.Long[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Long2CharLinkedOpenHashMap |
linkedMap(Long2CharMap map)
Helper function to unify code
|
ImmutableLong2CharOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
Helper function to unify code
|
Long2CharOpenHashMap |
map()
Helper function to unify code
|
Long2CharOpenHashMap |
map(int size)
Helper function to unify code
|
Long2CharOpenHashMap |
map(long[] keys,
char[] values)
Helper function to unify code
|
Long2CharOpenHashMap |
map(java.lang.Long[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Long2CharOpenHashMap |
map(Long2CharMap map)
Helper function to unify code
|
Long2CharOpenHashMap |
map(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
Helper function to unify code
|
Long2CharMap.BuilderCache |
put(long 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
|
Long2CharMap.BuilderCache |
put(java.lang.Long 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
|
Long2CharRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Long2CharRBTreeMap |
rbTreeMap(long[] keys,
char[] values,
LongComparator comp)
Helper function to unify code
|
Long2CharRBTreeMap |
rbTreeMap(java.lang.Long[] keys,
java.lang.Character[] values,
LongComparator comp)
Helper function to unify code
|
Long2CharRBTreeMap |
rbTreeMap(Long2CharMap map,
LongComparator comp)
Helper function to unify code
|
Long2CharRBTreeMap |
rbTreeMap(LongComparator comp)
Helper function to unify code
|
Long2CharRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map,
LongComparator comp)
Helper function to unify code
|
Long2CharMap.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
|
Long2CharMap.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 Long2CharMap.BuilderCache start()
public Long2CharMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Long2CharMap.BuilderCache put(long key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Long2CharMap.BuilderCache put(java.lang.Long key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Long2CharOpenHashMap map()
public Long2CharOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Long2CharOpenHashMap map(long[] 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 Long2CharOpenHashMap map(java.lang.Long[] 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 Long2CharOpenHashMap map(Long2CharMap map)
map - that should be clonedpublic Long2CharOpenHashMap map(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
map - that should be clonedpublic Long2CharLinkedOpenHashMap linkedMap()
public Long2CharLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Long2CharLinkedOpenHashMap linkedMap(long[] 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 Long2CharLinkedOpenHashMap linkedMap(java.lang.Long[] 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 Long2CharLinkedOpenHashMap linkedMap(Long2CharMap map)
map - that should be clonedpublic ImmutableLong2CharOpenHashMap linkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
map - that should be clonedpublic ImmutableLong2CharOpenHashMap immutable(long[] 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 ImmutableLong2CharOpenHashMap immutable(java.lang.Long[] 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 ImmutableLong2CharOpenHashMap immutable(Long2CharMap map)
map - that should be clonedpublic ImmutableLong2CharOpenHashMap immutable(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
map - that should be clonedpublic Long2CharOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the Hash Controllerpublic Long2CharOpenCustomHashMap customMap(int size, LongStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Long2CharOpenCustomHashMap customMap(long[] keys, char[] values, LongStrategy 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 Long2CharOpenCustomHashMap customMap(java.lang.Long[] keys, java.lang.Character[] values, LongStrategy 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 Long2CharOpenCustomHashMap customMap(Long2CharMap map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2CharOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2CharLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the Hash Controllerpublic Long2CharLinkedOpenCustomHashMap customLinkedMap(int size, LongStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Long2CharLinkedOpenCustomHashMap customLinkedMap(long[] keys, char[] values, LongStrategy 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 Long2CharLinkedOpenCustomHashMap customLinkedMap(java.lang.Long[] keys, java.lang.Character[] values, LongStrategy 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 Long2CharLinkedOpenCustomHashMap customLinkedMap(Long2CharMap map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2CharLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2CharArrayMap arrayMap()
public Long2CharArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Long2CharArrayMap arrayMap(long[] 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 Long2CharArrayMap arrayMap(java.lang.Long[] 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 Long2CharArrayMap arrayMap(Long2CharMap map)
map - that should be clonedpublic Long2CharArrayMap arrayMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map)
map - that should be clonedpublic Long2CharRBTreeMap rbTreeMap()
public Long2CharRBTreeMap rbTreeMap(LongComparator comp)
comp - the Sorter of the TreeMappublic Long2CharRBTreeMap rbTreeMap(long[] keys, char[] values, LongComparator 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 Long2CharRBTreeMap rbTreeMap(java.lang.Long[] keys, java.lang.Character[] values, LongComparator 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 Long2CharRBTreeMap rbTreeMap(Long2CharMap map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2CharRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2CharAVLTreeMap avlTreeMap()
public Long2CharAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Sorter of the TreeMappublic Long2CharAVLTreeMap avlTreeMap(long[] keys, char[] values, LongComparator 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 Long2CharAVLTreeMap avlTreeMap(java.lang.Long[] keys, java.lang.Character[] values, LongComparator 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 Long2CharAVLTreeMap avlTreeMap(Long2CharMap map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2CharAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Character> map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap