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