public static final class Byte2CharMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Byte2CharArrayMap |
arrayMap()
Helper function to unify code
|
Byte2CharArrayMap |
arrayMap(byte[] keys,
char[] values)
Helper function to unify code
|
Byte2CharArrayMap |
arrayMap(java.lang.Byte[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Byte2CharArrayMap |
arrayMap(Byte2CharMap map)
Helper function to unify code
|
Byte2CharArrayMap |
arrayMap(int size)
Helper function to unify code
|
Byte2CharArrayMap |
arrayMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
Helper function to unify code
|
Byte2CharAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Byte2CharAVLTreeMap |
avlTreeMap(byte[] keys,
char[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2CharAVLTreeMap |
avlTreeMap(java.lang.Byte[] keys,
java.lang.Character[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2CharAVLTreeMap |
avlTreeMap(Byte2CharMap map,
ByteComparator comp)
Helper function to unify code
|
Byte2CharAVLTreeMap |
avlTreeMap(ByteComparator comp)
Helper function to unify code
|
Byte2CharAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map,
ByteComparator comp)
Helper function to unify code
|
Byte2CharLinkedOpenCustomHashMap |
customLinkedMap(byte[] keys,
char[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Byte[] keys,
java.lang.Character[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharLinkedOpenCustomHashMap |
customLinkedMap(Byte2CharMap map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharLinkedOpenCustomHashMap |
customLinkedMap(ByteStrategy strategy)
Helper function to unify code
|
Byte2CharLinkedOpenCustomHashMap |
customLinkedMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharOpenCustomHashMap |
customMap(byte[] keys,
char[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharOpenCustomHashMap |
customMap(java.lang.Byte[] keys,
java.lang.Character[] values,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharOpenCustomHashMap |
customMap(Byte2CharMap map,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharOpenCustomHashMap |
customMap(ByteStrategy strategy)
Helper function to unify code
|
Byte2CharOpenCustomHashMap |
customMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
Byte2CharOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map,
ByteStrategy strategy)
Helper function to unify code
|
ImmutableByte2CharOpenHashMap |
immutable(byte[] keys,
char[] values)
Helper function to unify code
|
ImmutableByte2CharOpenHashMap |
immutable(java.lang.Byte[] keys,
java.lang.Character[] values)
Helper function to unify code
|
ImmutableByte2CharOpenHashMap |
immutable(Byte2CharMap map)
Helper function to unify code
|
ImmutableByte2CharOpenHashMap |
immutable(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
Helper function to unify code
|
Byte2CharLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Byte2CharLinkedOpenHashMap |
linkedMap(byte[] keys,
char[] values)
Helper function to unify code
|
Byte2CharLinkedOpenHashMap |
linkedMap(java.lang.Byte[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Byte2CharLinkedOpenHashMap |
linkedMap(Byte2CharMap map)
Helper function to unify code
|
Byte2CharLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableByte2CharOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
Helper function to unify code
|
Byte2CharOpenHashMap |
map()
Helper function to unify code
|
Byte2CharOpenHashMap |
map(byte[] keys,
char[] values)
Helper function to unify code
|
Byte2CharOpenHashMap |
map(java.lang.Byte[] keys,
java.lang.Character[] values)
Helper function to unify code
|
Byte2CharOpenHashMap |
map(Byte2CharMap map)
Helper function to unify code
|
Byte2CharOpenHashMap |
map(int size)
Helper function to unify code
|
Byte2CharOpenHashMap |
map(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
Helper function to unify code
|
Byte2CharMap.BuilderCache |
put(byte 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
|
Byte2CharMap.BuilderCache |
put(java.lang.Byte 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
|
Byte2CharRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Byte2CharRBTreeMap |
rbTreeMap(byte[] keys,
char[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2CharRBTreeMap |
rbTreeMap(java.lang.Byte[] keys,
java.lang.Character[] values,
ByteComparator comp)
Helper function to unify code
|
Byte2CharRBTreeMap |
rbTreeMap(Byte2CharMap map,
ByteComparator comp)
Helper function to unify code
|
Byte2CharRBTreeMap |
rbTreeMap(ByteComparator comp)
Helper function to unify code
|
Byte2CharRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map,
ByteComparator comp)
Helper function to unify code
|
Byte2CharMap.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
|
Byte2CharMap.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 Byte2CharMap.BuilderCache start()
public Byte2CharMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Byte2CharMap.BuilderCache put(byte key, char value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2CharMap.BuilderCache put(java.lang.Byte key, java.lang.Character value)
key - the key that should be addedvalue - the value that should be addedpublic Byte2CharOpenHashMap map()
public Byte2CharOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Byte2CharOpenHashMap map(byte[] 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 Byte2CharOpenHashMap map(java.lang.Byte[] 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 Byte2CharOpenHashMap map(Byte2CharMap map)
map - that should be clonedpublic Byte2CharOpenHashMap map(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
map - that should be clonedpublic Byte2CharLinkedOpenHashMap linkedMap()
public Byte2CharLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Byte2CharLinkedOpenHashMap linkedMap(byte[] 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 Byte2CharLinkedOpenHashMap linkedMap(java.lang.Byte[] 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 Byte2CharLinkedOpenHashMap linkedMap(Byte2CharMap map)
map - that should be clonedpublic ImmutableByte2CharOpenHashMap linkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
map - that should be clonedpublic ImmutableByte2CharOpenHashMap immutable(byte[] 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 ImmutableByte2CharOpenHashMap immutable(java.lang.Byte[] 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 ImmutableByte2CharOpenHashMap immutable(Byte2CharMap map)
map - that should be clonedpublic ImmutableByte2CharOpenHashMap immutable(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
map - that should be clonedpublic Byte2CharOpenCustomHashMap customMap(ByteStrategy strategy)
strategy - the Hash Controllerpublic Byte2CharOpenCustomHashMap customMap(int size, ByteStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Byte2CharOpenCustomHashMap customMap(byte[] keys, char[] values, ByteStrategy 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 Byte2CharOpenCustomHashMap customMap(java.lang.Byte[] keys, java.lang.Character[] values, ByteStrategy 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 Byte2CharOpenCustomHashMap customMap(Byte2CharMap map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2CharOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2CharLinkedOpenCustomHashMap customLinkedMap(ByteStrategy strategy)
strategy - the Hash Controllerpublic Byte2CharLinkedOpenCustomHashMap customLinkedMap(int size, ByteStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Byte2CharLinkedOpenCustomHashMap customLinkedMap(byte[] keys, char[] values, ByteStrategy 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 Byte2CharLinkedOpenCustomHashMap customLinkedMap(java.lang.Byte[] keys, java.lang.Character[] values, ByteStrategy 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 Byte2CharLinkedOpenCustomHashMap customLinkedMap(Byte2CharMap map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2CharLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map, ByteStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Byte2CharArrayMap arrayMap()
public Byte2CharArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Byte2CharArrayMap arrayMap(byte[] 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 Byte2CharArrayMap arrayMap(java.lang.Byte[] 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 Byte2CharArrayMap arrayMap(Byte2CharMap map)
map - that should be clonedpublic Byte2CharArrayMap arrayMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map)
map - that should be clonedpublic Byte2CharRBTreeMap rbTreeMap()
public Byte2CharRBTreeMap rbTreeMap(ByteComparator comp)
comp - the Sorter of the TreeMappublic Byte2CharRBTreeMap rbTreeMap(byte[] keys, char[] values, ByteComparator 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 Byte2CharRBTreeMap rbTreeMap(java.lang.Byte[] keys, java.lang.Character[] values, ByteComparator 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 Byte2CharRBTreeMap rbTreeMap(Byte2CharMap map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2CharRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2CharAVLTreeMap avlTreeMap()
public Byte2CharAVLTreeMap avlTreeMap(ByteComparator comp)
comp - the Sorter of the TreeMappublic Byte2CharAVLTreeMap avlTreeMap(byte[] keys, char[] values, ByteComparator 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 Byte2CharAVLTreeMap avlTreeMap(java.lang.Byte[] keys, java.lang.Character[] values, ByteComparator 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 Byte2CharAVLTreeMap avlTreeMap(Byte2CharMap map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Byte2CharAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends java.lang.Character> map, ByteComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap