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