public static final class Long2ByteMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Long2ByteArrayMap |
arrayMap()
Helper function to unify code
|
Long2ByteArrayMap |
arrayMap(int size)
Helper function to unify code
|
Long2ByteArrayMap |
arrayMap(long[] keys,
byte[] values)
Helper function to unify code
|
Long2ByteArrayMap |
arrayMap(java.lang.Long[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Long2ByteArrayMap |
arrayMap(Long2ByteMap map)
Helper function to unify code
|
Long2ByteArrayMap |
arrayMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
Helper function to unify code
|
Long2ByteAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Long2ByteAVLTreeMap |
avlTreeMap(long[] keys,
byte[] values,
LongComparator comp)
Helper function to unify code
|
Long2ByteAVLTreeMap |
avlTreeMap(java.lang.Long[] keys,
java.lang.Byte[] values,
LongComparator comp)
Helper function to unify code
|
Long2ByteAVLTreeMap |
avlTreeMap(Long2ByteMap map,
LongComparator comp)
Helper function to unify code
|
Long2ByteAVLTreeMap |
avlTreeMap(LongComparator comp)
Helper function to unify code
|
Long2ByteAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map,
LongComparator comp)
Helper function to unify code
|
Long2ByteLinkedOpenCustomHashMap |
customLinkedMap(int size,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteLinkedOpenCustomHashMap |
customLinkedMap(long[] keys,
byte[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Long[] keys,
java.lang.Byte[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteLinkedOpenCustomHashMap |
customLinkedMap(Long2ByteMap map,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Helper function to unify code
|
Long2ByteLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteOpenCustomHashMap |
customMap(int size,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteOpenCustomHashMap |
customMap(long[] keys,
byte[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteOpenCustomHashMap |
customMap(java.lang.Long[] keys,
java.lang.Byte[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteOpenCustomHashMap |
customMap(Long2ByteMap map,
LongStrategy strategy)
Helper function to unify code
|
Long2ByteOpenCustomHashMap |
customMap(LongStrategy strategy)
Helper function to unify code
|
Long2ByteOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map,
LongStrategy strategy)
Helper function to unify code
|
ImmutableLong2ByteOpenHashMap |
immutable(long[] keys,
byte[] values)
Helper function to unify code
|
ImmutableLong2ByteOpenHashMap |
immutable(java.lang.Long[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
ImmutableLong2ByteOpenHashMap |
immutable(Long2ByteMap map)
Helper function to unify code
|
ImmutableLong2ByteOpenHashMap |
immutable(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
Helper function to unify code
|
Long2ByteLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Long2ByteLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
Long2ByteLinkedOpenHashMap |
linkedMap(long[] keys,
byte[] values)
Helper function to unify code
|
Long2ByteLinkedOpenHashMap |
linkedMap(java.lang.Long[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Long2ByteLinkedOpenHashMap |
linkedMap(Long2ByteMap map)
Helper function to unify code
|
ImmutableLong2ByteOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
Helper function to unify code
|
Long2ByteOpenHashMap |
map()
Helper function to unify code
|
Long2ByteOpenHashMap |
map(int size)
Helper function to unify code
|
Long2ByteOpenHashMap |
map(long[] keys,
byte[] values)
Helper function to unify code
|
Long2ByteOpenHashMap |
map(java.lang.Long[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Long2ByteOpenHashMap |
map(Long2ByteMap map)
Helper function to unify code
|
Long2ByteOpenHashMap |
map(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
Helper function to unify code
|
Long2ByteMap.BuilderCache |
put(long 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
|
Long2ByteMap.BuilderCache |
put(java.lang.Long 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
|
Long2ByteRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Long2ByteRBTreeMap |
rbTreeMap(long[] keys,
byte[] values,
LongComparator comp)
Helper function to unify code
|
Long2ByteRBTreeMap |
rbTreeMap(java.lang.Long[] keys,
java.lang.Byte[] values,
LongComparator comp)
Helper function to unify code
|
Long2ByteRBTreeMap |
rbTreeMap(Long2ByteMap map,
LongComparator comp)
Helper function to unify code
|
Long2ByteRBTreeMap |
rbTreeMap(LongComparator comp)
Helper function to unify code
|
Long2ByteRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map,
LongComparator comp)
Helper function to unify code
|
Long2ByteMap.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
|
Long2ByteMap.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 Long2ByteMap.BuilderCache start()
public Long2ByteMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Long2ByteMap.BuilderCache put(long key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Long2ByteMap.BuilderCache put(java.lang.Long key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Long2ByteOpenHashMap map()
public Long2ByteOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Long2ByteOpenHashMap map(long[] 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 Long2ByteOpenHashMap map(java.lang.Long[] 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 Long2ByteOpenHashMap map(Long2ByteMap map)
map - that should be clonedpublic Long2ByteOpenHashMap map(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
map - that should be clonedpublic Long2ByteLinkedOpenHashMap linkedMap()
public Long2ByteLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Long2ByteLinkedOpenHashMap linkedMap(long[] 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 Long2ByteLinkedOpenHashMap linkedMap(java.lang.Long[] 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 Long2ByteLinkedOpenHashMap linkedMap(Long2ByteMap map)
map - that should be clonedpublic ImmutableLong2ByteOpenHashMap linkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
map - that should be clonedpublic ImmutableLong2ByteOpenHashMap immutable(long[] 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 ImmutableLong2ByteOpenHashMap immutable(java.lang.Long[] 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 ImmutableLong2ByteOpenHashMap immutable(Long2ByteMap map)
map - that should be clonedpublic ImmutableLong2ByteOpenHashMap immutable(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
map - that should be clonedpublic Long2ByteOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the Hash Controllerpublic Long2ByteOpenCustomHashMap customMap(int size, LongStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Long2ByteOpenCustomHashMap customMap(long[] keys, byte[] 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 Long2ByteOpenCustomHashMap customMap(java.lang.Long[] keys, java.lang.Byte[] 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 Long2ByteOpenCustomHashMap customMap(Long2ByteMap map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2ByteOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2ByteLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the Hash Controllerpublic Long2ByteLinkedOpenCustomHashMap customLinkedMap(int size, LongStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Long2ByteLinkedOpenCustomHashMap customLinkedMap(long[] keys, byte[] 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 Long2ByteLinkedOpenCustomHashMap customLinkedMap(java.lang.Long[] keys, java.lang.Byte[] 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 Long2ByteLinkedOpenCustomHashMap customLinkedMap(Long2ByteMap map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2ByteLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2ByteArrayMap arrayMap()
public Long2ByteArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Long2ByteArrayMap arrayMap(long[] 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 Long2ByteArrayMap arrayMap(java.lang.Long[] 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 Long2ByteArrayMap arrayMap(Long2ByteMap map)
map - that should be clonedpublic Long2ByteArrayMap arrayMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map)
map - that should be clonedpublic Long2ByteRBTreeMap rbTreeMap()
public Long2ByteRBTreeMap rbTreeMap(LongComparator comp)
comp - the Sorter of the TreeMappublic Long2ByteRBTreeMap rbTreeMap(long[] keys, byte[] 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 Long2ByteRBTreeMap rbTreeMap(java.lang.Long[] keys, java.lang.Byte[] 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 Long2ByteRBTreeMap rbTreeMap(Long2ByteMap map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2ByteRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2ByteAVLTreeMap avlTreeMap()
public Long2ByteAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Sorter of the TreeMappublic Long2ByteAVLTreeMap avlTreeMap(long[] keys, byte[] 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 Long2ByteAVLTreeMap avlTreeMap(java.lang.Long[] keys, java.lang.Byte[] 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 Long2ByteAVLTreeMap avlTreeMap(Long2ByteMap map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2ByteAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Byte> map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap