public static final class Char2ByteMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Char2ByteArrayMap |
arrayMap()
Helper function to unify code
|
Char2ByteArrayMap |
arrayMap(char[] keys,
byte[] values)
Helper function to unify code
|
Char2ByteArrayMap |
arrayMap(Char2ByteMap map)
Helper function to unify code
|
Char2ByteArrayMap |
arrayMap(java.lang.Character[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Char2ByteArrayMap |
arrayMap(int size)
Helper function to unify code
|
Char2ByteArrayMap |
arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
Helper function to unify code
|
Char2ByteAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Char2ByteAVLTreeMap |
avlTreeMap(char[] keys,
byte[] values,
CharComparator comp)
Helper function to unify code
|
Char2ByteAVLTreeMap |
avlTreeMap(Char2ByteMap map,
CharComparator comp)
Helper function to unify code
|
Char2ByteAVLTreeMap |
avlTreeMap(java.lang.Character[] keys,
java.lang.Byte[] values,
CharComparator comp)
Helper function to unify code
|
Char2ByteAVLTreeMap |
avlTreeMap(CharComparator comp)
Helper function to unify code
|
Char2ByteAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map,
CharComparator comp)
Helper function to unify code
|
Char2ByteLinkedOpenCustomHashMap |
customLinkedMap(char[] keys,
byte[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteLinkedOpenCustomHashMap |
customLinkedMap(Char2ByteMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Character[] keys,
java.lang.Byte[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteLinkedOpenCustomHashMap |
customLinkedMap(CharStrategy strategy)
Helper function to unify code
|
Char2ByteLinkedOpenCustomHashMap |
customLinkedMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteOpenCustomHashMap |
customMap(char[] keys,
byte[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteOpenCustomHashMap |
customMap(Char2ByteMap map,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteOpenCustomHashMap |
customMap(java.lang.Character[] keys,
java.lang.Byte[] values,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteOpenCustomHashMap |
customMap(CharStrategy strategy)
Helper function to unify code
|
Char2ByteOpenCustomHashMap |
customMap(int size,
CharStrategy strategy)
Helper function to unify code
|
Char2ByteOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map,
CharStrategy strategy)
Helper function to unify code
|
ImmutableChar2ByteOpenHashMap |
immutable(char[] keys,
byte[] values)
Helper function to unify code
|
ImmutableChar2ByteOpenHashMap |
immutable(Char2ByteMap map)
Helper function to unify code
|
ImmutableChar2ByteOpenHashMap |
immutable(java.lang.Character[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
ImmutableChar2ByteOpenHashMap |
immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
Helper function to unify code
|
Char2ByteLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Char2ByteLinkedOpenHashMap |
linkedMap(char[] keys,
byte[] values)
Helper function to unify code
|
Char2ByteLinkedOpenHashMap |
linkedMap(Char2ByteMap map)
Helper function to unify code
|
Char2ByteLinkedOpenHashMap |
linkedMap(java.lang.Character[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Char2ByteLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableChar2ByteOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
Helper function to unify code
|
Char2ByteOpenHashMap |
map()
Helper function to unify code
|
Char2ByteOpenHashMap |
map(char[] keys,
byte[] values)
Helper function to unify code
|
Char2ByteOpenHashMap |
map(Char2ByteMap map)
Helper function to unify code
|
Char2ByteOpenHashMap |
map(java.lang.Character[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Char2ByteOpenHashMap |
map(int size)
Helper function to unify code
|
Char2ByteOpenHashMap |
map(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
Helper function to unify code
|
Char2ByteMap.BuilderCache |
put(java.lang.Character key,
java.lang.Byte 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
|
Char2ByteMap.BuilderCache |
put(char key,
byte 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
|
Char2ByteRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Char2ByteRBTreeMap |
rbTreeMap(char[] keys,
byte[] values,
CharComparator comp)
Helper function to unify code
|
Char2ByteRBTreeMap |
rbTreeMap(Char2ByteMap map,
CharComparator comp)
Helper function to unify code
|
Char2ByteRBTreeMap |
rbTreeMap(java.lang.Character[] keys,
java.lang.Byte[] values,
CharComparator comp)
Helper function to unify code
|
Char2ByteRBTreeMap |
rbTreeMap(CharComparator comp)
Helper function to unify code
|
Char2ByteRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map,
CharComparator comp)
Helper function to unify code
|
Char2ByteMap.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
|
Char2ByteMap.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 Char2ByteMap.BuilderCache start()
public Char2ByteMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Char2ByteMap.BuilderCache put(char key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ByteMap.BuilderCache put(java.lang.Character key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Char2ByteOpenHashMap map()
public Char2ByteOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Char2ByteOpenHashMap map(char[] keys, byte[] 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 Char2ByteOpenHashMap map(java.lang.Character[] keys, java.lang.Byte[] 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 Char2ByteOpenHashMap map(Char2ByteMap map)
map - that should be clonedpublic Char2ByteOpenHashMap map(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
map - that should be clonedpublic Char2ByteLinkedOpenHashMap linkedMap()
public Char2ByteLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Char2ByteLinkedOpenHashMap linkedMap(char[] keys, byte[] 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 Char2ByteLinkedOpenHashMap linkedMap(java.lang.Character[] keys, java.lang.Byte[] 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 Char2ByteLinkedOpenHashMap linkedMap(Char2ByteMap map)
map - that should be clonedpublic ImmutableChar2ByteOpenHashMap linkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
map - that should be clonedpublic ImmutableChar2ByteOpenHashMap immutable(char[] keys, byte[] 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 ImmutableChar2ByteOpenHashMap immutable(java.lang.Character[] keys, java.lang.Byte[] 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 ImmutableChar2ByteOpenHashMap immutable(Char2ByteMap map)
map - that should be clonedpublic ImmutableChar2ByteOpenHashMap immutable(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
map - that should be clonedpublic Char2ByteOpenCustomHashMap customMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2ByteOpenCustomHashMap customMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2ByteOpenCustomHashMap customMap(char[] keys, byte[] 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 Char2ByteOpenCustomHashMap customMap(java.lang.Character[] keys, java.lang.Byte[] 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 Char2ByteOpenCustomHashMap customMap(Char2ByteMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ByteOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ByteLinkedOpenCustomHashMap customLinkedMap(CharStrategy strategy)
strategy - the Hash Controllerpublic Char2ByteLinkedOpenCustomHashMap customLinkedMap(int size, CharStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Char2ByteLinkedOpenCustomHashMap customLinkedMap(char[] keys, byte[] 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 Char2ByteLinkedOpenCustomHashMap customLinkedMap(java.lang.Character[] keys, java.lang.Byte[] 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 Char2ByteLinkedOpenCustomHashMap customLinkedMap(Char2ByteMap map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ByteLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map, CharStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Char2ByteArrayMap arrayMap()
public Char2ByteArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Char2ByteArrayMap arrayMap(char[] keys, byte[] 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 Char2ByteArrayMap arrayMap(java.lang.Character[] keys, java.lang.Byte[] 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 Char2ByteArrayMap arrayMap(Char2ByteMap map)
map - that should be clonedpublic Char2ByteArrayMap arrayMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map)
map - that should be clonedpublic Char2ByteRBTreeMap rbTreeMap()
public Char2ByteRBTreeMap rbTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2ByteRBTreeMap rbTreeMap(char[] keys, byte[] 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 Char2ByteRBTreeMap rbTreeMap(java.lang.Character[] keys, java.lang.Byte[] 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 Char2ByteRBTreeMap rbTreeMap(Char2ByteMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2ByteRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2ByteAVLTreeMap avlTreeMap()
public Char2ByteAVLTreeMap avlTreeMap(CharComparator comp)
comp - the Sorter of the TreeMappublic Char2ByteAVLTreeMap avlTreeMap(char[] keys, byte[] 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 Char2ByteAVLTreeMap avlTreeMap(java.lang.Character[] keys, java.lang.Byte[] 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 Char2ByteAVLTreeMap avlTreeMap(Char2ByteMap map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Char2ByteAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Character,? extends java.lang.Byte> map, CharComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap