public static final class Int2ByteMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Int2ByteArrayMap |
arrayMap()
Helper function to unify code
|
Int2ByteArrayMap |
arrayMap(int size)
Helper function to unify code
|
Int2ByteArrayMap |
arrayMap(int[] keys,
byte[] values)
Helper function to unify code
|
Int2ByteArrayMap |
arrayMap(Int2ByteMap map)
Helper function to unify code
|
Int2ByteArrayMap |
arrayMap(java.lang.Integer[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Int2ByteArrayMap |
arrayMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
Helper function to unify code
|
Int2ByteAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Int2ByteAVLTreeMap |
avlTreeMap(int[] keys,
byte[] values,
IntComparator comp)
Helper function to unify code
|
Int2ByteAVLTreeMap |
avlTreeMap(Int2ByteMap map,
IntComparator comp)
Helper function to unify code
|
Int2ByteAVLTreeMap |
avlTreeMap(IntComparator comp)
Helper function to unify code
|
Int2ByteAVLTreeMap |
avlTreeMap(java.lang.Integer[] keys,
java.lang.Byte[] values,
IntComparator comp)
Helper function to unify code
|
Int2ByteAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map,
IntComparator comp)
Helper function to unify code
|
Int2ByteLinkedOpenCustomHashMap |
customLinkedMap(int[] keys,
byte[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteLinkedOpenCustomHashMap |
customLinkedMap(Int2ByteMap map,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Integer[] keys,
java.lang.Byte[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteLinkedOpenCustomHashMap |
customLinkedMap(int size,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Helper function to unify code
|
Int2ByteLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteOpenCustomHashMap |
customMap(int[] keys,
byte[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteOpenCustomHashMap |
customMap(Int2ByteMap map,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteOpenCustomHashMap |
customMap(java.lang.Integer[] keys,
java.lang.Byte[] values,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteOpenCustomHashMap |
customMap(int size,
IntStrategy strategy)
Helper function to unify code
|
Int2ByteOpenCustomHashMap |
customMap(IntStrategy strategy)
Helper function to unify code
|
Int2ByteOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map,
IntStrategy strategy)
Helper function to unify code
|
ImmutableInt2ByteOpenHashMap |
immutable(int[] keys,
byte[] values)
Helper function to unify code
|
ImmutableInt2ByteOpenHashMap |
immutable(Int2ByteMap map)
Helper function to unify code
|
ImmutableInt2ByteOpenHashMap |
immutable(java.lang.Integer[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
ImmutableInt2ByteOpenHashMap |
immutable(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
Helper function to unify code
|
Int2ByteLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Int2ByteLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
Int2ByteLinkedOpenHashMap |
linkedMap(int[] keys,
byte[] values)
Helper function to unify code
|
Int2ByteLinkedOpenHashMap |
linkedMap(Int2ByteMap map)
Helper function to unify code
|
Int2ByteLinkedOpenHashMap |
linkedMap(java.lang.Integer[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
ImmutableInt2ByteOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
Helper function to unify code
|
Int2ByteOpenHashMap |
map()
Helper function to unify code
|
Int2ByteOpenHashMap |
map(int size)
Helper function to unify code
|
Int2ByteOpenHashMap |
map(int[] keys,
byte[] values)
Helper function to unify code
|
Int2ByteOpenHashMap |
map(Int2ByteMap map)
Helper function to unify code
|
Int2ByteOpenHashMap |
map(java.lang.Integer[] keys,
java.lang.Byte[] values)
Helper function to unify code
|
Int2ByteOpenHashMap |
map(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
Helper function to unify code
|
Int2ByteMap.BuilderCache |
put(int 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
|
Int2ByteMap.BuilderCache |
put(java.lang.Integer 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
|
Int2ByteRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Int2ByteRBTreeMap |
rbTreeMap(int[] keys,
byte[] values,
IntComparator comp)
Helper function to unify code
|
Int2ByteRBTreeMap |
rbTreeMap(Int2ByteMap map,
IntComparator comp)
Helper function to unify code
|
Int2ByteRBTreeMap |
rbTreeMap(IntComparator comp)
Helper function to unify code
|
Int2ByteRBTreeMap |
rbTreeMap(java.lang.Integer[] keys,
java.lang.Byte[] values,
IntComparator comp)
Helper function to unify code
|
Int2ByteRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map,
IntComparator comp)
Helper function to unify code
|
Int2ByteMap.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
|
Int2ByteMap.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 Int2ByteMap.BuilderCache start()
public Int2ByteMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Int2ByteMap.BuilderCache put(int key, byte value)
key - the key that should be addedvalue - the value that should be addedpublic Int2ByteMap.BuilderCache put(java.lang.Integer key, java.lang.Byte value)
key - the key that should be addedvalue - the value that should be addedpublic Int2ByteOpenHashMap map()
public Int2ByteOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Int2ByteOpenHashMap map(int[] 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 Int2ByteOpenHashMap map(java.lang.Integer[] 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 Int2ByteOpenHashMap map(Int2ByteMap map)
map - that should be clonedpublic Int2ByteOpenHashMap map(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
map - that should be clonedpublic Int2ByteLinkedOpenHashMap linkedMap()
public Int2ByteLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Int2ByteLinkedOpenHashMap linkedMap(int[] 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 Int2ByteLinkedOpenHashMap linkedMap(java.lang.Integer[] 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 Int2ByteLinkedOpenHashMap linkedMap(Int2ByteMap map)
map - that should be clonedpublic ImmutableInt2ByteOpenHashMap linkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
map - that should be clonedpublic ImmutableInt2ByteOpenHashMap immutable(int[] 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 ImmutableInt2ByteOpenHashMap immutable(java.lang.Integer[] 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 ImmutableInt2ByteOpenHashMap immutable(Int2ByteMap map)
map - that should be clonedpublic ImmutableInt2ByteOpenHashMap immutable(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
map - that should be clonedpublic Int2ByteOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the Hash Controllerpublic Int2ByteOpenCustomHashMap customMap(int size, IntStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Int2ByteOpenCustomHashMap customMap(int[] keys, byte[] values, IntStrategy 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 Int2ByteOpenCustomHashMap customMap(java.lang.Integer[] keys, java.lang.Byte[] values, IntStrategy 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 Int2ByteOpenCustomHashMap customMap(Int2ByteMap map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2ByteOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2ByteLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the Hash Controllerpublic Int2ByteLinkedOpenCustomHashMap customLinkedMap(int size, IntStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Int2ByteLinkedOpenCustomHashMap customLinkedMap(int[] keys, byte[] values, IntStrategy 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 Int2ByteLinkedOpenCustomHashMap customLinkedMap(java.lang.Integer[] keys, java.lang.Byte[] values, IntStrategy 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 Int2ByteLinkedOpenCustomHashMap customLinkedMap(Int2ByteMap map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2ByteLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map, IntStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Int2ByteArrayMap arrayMap()
public Int2ByteArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Int2ByteArrayMap arrayMap(int[] 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 Int2ByteArrayMap arrayMap(java.lang.Integer[] 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 Int2ByteArrayMap arrayMap(Int2ByteMap map)
map - that should be clonedpublic Int2ByteArrayMap arrayMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map)
map - that should be clonedpublic Int2ByteRBTreeMap rbTreeMap()
public Int2ByteRBTreeMap rbTreeMap(IntComparator comp)
comp - the Sorter of the TreeMappublic Int2ByteRBTreeMap rbTreeMap(int[] keys, byte[] values, IntComparator 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 Int2ByteRBTreeMap rbTreeMap(java.lang.Integer[] keys, java.lang.Byte[] values, IntComparator 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 Int2ByteRBTreeMap rbTreeMap(Int2ByteMap map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Int2ByteRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Int2ByteAVLTreeMap avlTreeMap()
public Int2ByteAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Sorter of the TreeMappublic Int2ByteAVLTreeMap avlTreeMap(int[] keys, byte[] values, IntComparator 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 Int2ByteAVLTreeMap avlTreeMap(java.lang.Integer[] keys, java.lang.Byte[] values, IntComparator 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 Int2ByteAVLTreeMap avlTreeMap(Int2ByteMap map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Int2ByteAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Integer,? extends java.lang.Byte> map, IntComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap