public static final class Long2BooleanMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Long2BooleanArrayMap |
arrayMap()
Helper function to unify code
|
Long2BooleanArrayMap |
arrayMap(int size)
Helper function to unify code
|
Long2BooleanArrayMap |
arrayMap(long[] keys,
boolean[] values)
Helper function to unify code
|
Long2BooleanArrayMap |
arrayMap(java.lang.Long[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
Long2BooleanArrayMap |
arrayMap(Long2BooleanMap map)
Helper function to unify code
|
Long2BooleanArrayMap |
arrayMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
Helper function to unify code
|
Long2BooleanAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Long2BooleanAVLTreeMap |
avlTreeMap(long[] keys,
boolean[] values,
LongComparator comp)
Helper function to unify code
|
Long2BooleanAVLTreeMap |
avlTreeMap(java.lang.Long[] keys,
java.lang.Boolean[] values,
LongComparator comp)
Helper function to unify code
|
Long2BooleanAVLTreeMap |
avlTreeMap(Long2BooleanMap map,
LongComparator comp)
Helper function to unify code
|
Long2BooleanAVLTreeMap |
avlTreeMap(LongComparator comp)
Helper function to unify code
|
Long2BooleanAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map,
LongComparator comp)
Helper function to unify code
|
Long2BooleanLinkedOpenCustomHashMap |
customLinkedMap(int size,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanLinkedOpenCustomHashMap |
customLinkedMap(long[] keys,
boolean[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Long[] keys,
java.lang.Boolean[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanLinkedOpenCustomHashMap |
customLinkedMap(Long2BooleanMap map,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Helper function to unify code
|
Long2BooleanLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanOpenCustomHashMap |
customMap(int size,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanOpenCustomHashMap |
customMap(long[] keys,
boolean[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanOpenCustomHashMap |
customMap(java.lang.Long[] keys,
java.lang.Boolean[] values,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanOpenCustomHashMap |
customMap(Long2BooleanMap map,
LongStrategy strategy)
Helper function to unify code
|
Long2BooleanOpenCustomHashMap |
customMap(LongStrategy strategy)
Helper function to unify code
|
Long2BooleanOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map,
LongStrategy strategy)
Helper function to unify code
|
ImmutableLong2BooleanOpenHashMap |
immutable(long[] keys,
boolean[] values)
Helper function to unify code
|
ImmutableLong2BooleanOpenHashMap |
immutable(java.lang.Long[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
ImmutableLong2BooleanOpenHashMap |
immutable(Long2BooleanMap map)
Helper function to unify code
|
ImmutableLong2BooleanOpenHashMap |
immutable(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
Helper function to unify code
|
Long2BooleanLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Long2BooleanLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
Long2BooleanLinkedOpenHashMap |
linkedMap(long[] keys,
boolean[] values)
Helper function to unify code
|
Long2BooleanLinkedOpenHashMap |
linkedMap(java.lang.Long[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
Long2BooleanLinkedOpenHashMap |
linkedMap(Long2BooleanMap map)
Helper function to unify code
|
ImmutableLong2BooleanOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
Helper function to unify code
|
Long2BooleanOpenHashMap |
map()
Helper function to unify code
|
Long2BooleanOpenHashMap |
map(int size)
Helper function to unify code
|
Long2BooleanOpenHashMap |
map(long[] keys,
boolean[] values)
Helper function to unify code
|
Long2BooleanOpenHashMap |
map(java.lang.Long[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
Long2BooleanOpenHashMap |
map(Long2BooleanMap map)
Helper function to unify code
|
Long2BooleanOpenHashMap |
map(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
Helper function to unify code
|
Long2BooleanMap.BuilderCache |
put(long 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
|
Long2BooleanMap.BuilderCache |
put(java.lang.Long 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
|
Long2BooleanRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Long2BooleanRBTreeMap |
rbTreeMap(long[] keys,
boolean[] values,
LongComparator comp)
Helper function to unify code
|
Long2BooleanRBTreeMap |
rbTreeMap(java.lang.Long[] keys,
java.lang.Boolean[] values,
LongComparator comp)
Helper function to unify code
|
Long2BooleanRBTreeMap |
rbTreeMap(Long2BooleanMap map,
LongComparator comp)
Helper function to unify code
|
Long2BooleanRBTreeMap |
rbTreeMap(LongComparator comp)
Helper function to unify code
|
Long2BooleanRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map,
LongComparator comp)
Helper function to unify code
|
Long2BooleanMap.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
|
Long2BooleanMap.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 Long2BooleanMap.BuilderCache start()
public Long2BooleanMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Long2BooleanMap.BuilderCache put(long key, boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Long2BooleanMap.BuilderCache put(java.lang.Long key, java.lang.Boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Long2BooleanOpenHashMap map()
public Long2BooleanOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Long2BooleanOpenHashMap map(long[] 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 Long2BooleanOpenHashMap map(java.lang.Long[] 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 Long2BooleanOpenHashMap map(Long2BooleanMap map)
map - that should be clonedpublic Long2BooleanOpenHashMap map(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
map - that should be clonedpublic Long2BooleanLinkedOpenHashMap linkedMap()
public Long2BooleanLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Long2BooleanLinkedOpenHashMap linkedMap(long[] 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 Long2BooleanLinkedOpenHashMap linkedMap(java.lang.Long[] 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 Long2BooleanLinkedOpenHashMap linkedMap(Long2BooleanMap map)
map - that should be clonedpublic ImmutableLong2BooleanOpenHashMap linkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
map - that should be clonedpublic ImmutableLong2BooleanOpenHashMap immutable(long[] 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 ImmutableLong2BooleanOpenHashMap immutable(java.lang.Long[] 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 ImmutableLong2BooleanOpenHashMap immutable(Long2BooleanMap map)
map - that should be clonedpublic ImmutableLong2BooleanOpenHashMap immutable(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
map - that should be clonedpublic Long2BooleanOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the Hash Controllerpublic Long2BooleanOpenCustomHashMap customMap(int size, LongStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Long2BooleanOpenCustomHashMap customMap(long[] keys, boolean[] 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 Long2BooleanOpenCustomHashMap customMap(java.lang.Long[] keys, java.lang.Boolean[] 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 Long2BooleanOpenCustomHashMap customMap(Long2BooleanMap map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2BooleanOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2BooleanLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the Hash Controllerpublic Long2BooleanLinkedOpenCustomHashMap customLinkedMap(int size, LongStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Long2BooleanLinkedOpenCustomHashMap customLinkedMap(long[] keys, boolean[] 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 Long2BooleanLinkedOpenCustomHashMap customLinkedMap(java.lang.Long[] keys, java.lang.Boolean[] 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 Long2BooleanLinkedOpenCustomHashMap customLinkedMap(Long2BooleanMap map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2BooleanLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map, LongStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Long2BooleanArrayMap arrayMap()
public Long2BooleanArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Long2BooleanArrayMap arrayMap(long[] 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 Long2BooleanArrayMap arrayMap(java.lang.Long[] 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 Long2BooleanArrayMap arrayMap(Long2BooleanMap map)
map - that should be clonedpublic Long2BooleanArrayMap arrayMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
map - that should be clonedpublic Long2BooleanRBTreeMap rbTreeMap()
public Long2BooleanRBTreeMap rbTreeMap(LongComparator comp)
comp - the Sorter of the TreeMappublic Long2BooleanRBTreeMap rbTreeMap(long[] keys, boolean[] 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 Long2BooleanRBTreeMap rbTreeMap(java.lang.Long[] keys, java.lang.Boolean[] 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 Long2BooleanRBTreeMap rbTreeMap(Long2BooleanMap map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2BooleanRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2BooleanAVLTreeMap avlTreeMap()
public Long2BooleanAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Sorter of the TreeMappublic Long2BooleanAVLTreeMap avlTreeMap(long[] keys, boolean[] 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 Long2BooleanAVLTreeMap avlTreeMap(java.lang.Long[] keys, java.lang.Boolean[] 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 Long2BooleanAVLTreeMap avlTreeMap(Long2BooleanMap map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Long2BooleanAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map, LongComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap