public static final class Short2BooleanMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Short2BooleanArrayMap |
arrayMap()
Helper function to unify code
|
Short2BooleanArrayMap |
arrayMap(int size)
Helper function to unify code
|
Short2BooleanArrayMap |
arrayMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
Helper function to unify code
|
Short2BooleanArrayMap |
arrayMap(short[] keys,
boolean[] values)
Helper function to unify code
|
Short2BooleanArrayMap |
arrayMap(java.lang.Short[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
Short2BooleanArrayMap |
arrayMap(Short2BooleanMap map)
Helper function to unify code
|
Short2BooleanAVLTreeMap |
avlTreeMap()
Helper function to unify code
|
Short2BooleanAVLTreeMap |
avlTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanAVLTreeMap |
avlTreeMap(short[] keys,
boolean[] values,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanAVLTreeMap |
avlTreeMap(java.lang.Short[] keys,
java.lang.Boolean[] values,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanAVLTreeMap |
avlTreeMap(Short2BooleanMap map,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanAVLTreeMap |
avlTreeMap(ShortComparator comp)
Helper function to unify code
|
Short2BooleanLinkedOpenCustomHashMap |
customLinkedMap(int size,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanLinkedOpenCustomHashMap |
customLinkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanLinkedOpenCustomHashMap |
customLinkedMap(short[] keys,
boolean[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanLinkedOpenCustomHashMap |
customLinkedMap(java.lang.Short[] keys,
java.lang.Boolean[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanLinkedOpenCustomHashMap |
customLinkedMap(Short2BooleanMap map,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanLinkedOpenCustomHashMap |
customLinkedMap(ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanOpenCustomHashMap |
customMap(int size,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanOpenCustomHashMap |
customMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanOpenCustomHashMap |
customMap(short[] keys,
boolean[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanOpenCustomHashMap |
customMap(java.lang.Short[] keys,
java.lang.Boolean[] values,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanOpenCustomHashMap |
customMap(Short2BooleanMap map,
ShortStrategy strategy)
Helper function to unify code
|
Short2BooleanOpenCustomHashMap |
customMap(ShortStrategy strategy)
Helper function to unify code
|
ImmutableShort2BooleanOpenHashMap |
immutable(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
Helper function to unify code
|
ImmutableShort2BooleanOpenHashMap |
immutable(short[] keys,
boolean[] values)
Helper function to unify code
|
ImmutableShort2BooleanOpenHashMap |
immutable(java.lang.Short[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
ImmutableShort2BooleanOpenHashMap |
immutable(Short2BooleanMap map)
Helper function to unify code
|
Short2BooleanLinkedOpenHashMap |
linkedMap()
Helper function to unify code
|
Short2BooleanLinkedOpenHashMap |
linkedMap(int size)
Helper function to unify code
|
ImmutableShort2BooleanOpenHashMap |
linkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
Helper function to unify code
|
Short2BooleanLinkedOpenHashMap |
linkedMap(short[] keys,
boolean[] values)
Helper function to unify code
|
Short2BooleanLinkedOpenHashMap |
linkedMap(java.lang.Short[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
Short2BooleanLinkedOpenHashMap |
linkedMap(Short2BooleanMap map)
Helper function to unify code
|
Short2BooleanOpenHashMap |
map()
Helper function to unify code
|
Short2BooleanOpenHashMap |
map(int size)
Helper function to unify code
|
Short2BooleanOpenHashMap |
map(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
Helper function to unify code
|
Short2BooleanOpenHashMap |
map(short[] keys,
boolean[] values)
Helper function to unify code
|
Short2BooleanOpenHashMap |
map(java.lang.Short[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
Short2BooleanOpenHashMap |
map(Short2BooleanMap map)
Helper function to unify code
|
Short2BooleanMap.BuilderCache |
put(short 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
|
Short2BooleanMap.BuilderCache |
put(java.lang.Short 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
|
Short2BooleanRBTreeMap |
rbTreeMap()
Helper function to unify code
|
Short2BooleanRBTreeMap |
rbTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanRBTreeMap |
rbTreeMap(short[] keys,
boolean[] values,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanRBTreeMap |
rbTreeMap(java.lang.Short[] keys,
java.lang.Boolean[] values,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanRBTreeMap |
rbTreeMap(Short2BooleanMap map,
ShortComparator comp)
Helper function to unify code
|
Short2BooleanRBTreeMap |
rbTreeMap(ShortComparator comp)
Helper function to unify code
|
Short2BooleanMap.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
|
Short2BooleanMap.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 Short2BooleanMap.BuilderCache start()
public Short2BooleanMap.BuilderCache start(int size)
size - the expected minimum size of Elements in the Map, default is 16public Short2BooleanMap.BuilderCache put(short key, boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Short2BooleanMap.BuilderCache put(java.lang.Short key, java.lang.Boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Short2BooleanOpenHashMap map()
public Short2BooleanOpenHashMap map(int size)
size - the minimum capacity of the Mappublic Short2BooleanOpenHashMap map(short[] 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 Short2BooleanOpenHashMap map(java.lang.Short[] 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 Short2BooleanOpenHashMap map(Short2BooleanMap map)
map - that should be clonedpublic Short2BooleanOpenHashMap map(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
map - that should be clonedpublic Short2BooleanLinkedOpenHashMap linkedMap()
public Short2BooleanLinkedOpenHashMap linkedMap(int size)
size - the minimum capacity of the Mappublic Short2BooleanLinkedOpenHashMap linkedMap(short[] 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 Short2BooleanLinkedOpenHashMap linkedMap(java.lang.Short[] 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 Short2BooleanLinkedOpenHashMap linkedMap(Short2BooleanMap map)
map - that should be clonedpublic ImmutableShort2BooleanOpenHashMap linkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
map - that should be clonedpublic ImmutableShort2BooleanOpenHashMap immutable(short[] 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 ImmutableShort2BooleanOpenHashMap immutable(java.lang.Short[] 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 ImmutableShort2BooleanOpenHashMap immutable(Short2BooleanMap map)
map - that should be clonedpublic ImmutableShort2BooleanOpenHashMap immutable(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
map - that should be clonedpublic Short2BooleanOpenCustomHashMap customMap(ShortStrategy strategy)
strategy - the Hash Controllerpublic Short2BooleanOpenCustomHashMap customMap(int size, ShortStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Short2BooleanOpenCustomHashMap customMap(short[] keys, boolean[] values, ShortStrategy 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 Short2BooleanOpenCustomHashMap customMap(java.lang.Short[] keys, java.lang.Boolean[] values, ShortStrategy 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 Short2BooleanOpenCustomHashMap customMap(Short2BooleanMap map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2BooleanOpenCustomHashMap customMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2BooleanLinkedOpenCustomHashMap customLinkedMap(ShortStrategy strategy)
strategy - the Hash Controllerpublic Short2BooleanLinkedOpenCustomHashMap customLinkedMap(int size, ShortStrategy strategy)
size - the minimum capacity of the Mapstrategy - the Hash Controllerpublic Short2BooleanLinkedOpenCustomHashMap customLinkedMap(short[] keys, boolean[] values, ShortStrategy 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 Short2BooleanLinkedOpenCustomHashMap customLinkedMap(java.lang.Short[] keys, java.lang.Boolean[] values, ShortStrategy 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 Short2BooleanLinkedOpenCustomHashMap customLinkedMap(Short2BooleanMap map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2BooleanLinkedOpenCustomHashMap customLinkedMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map, ShortStrategy strategy)
map - that should be clonedstrategy - the Hash Controllerpublic Short2BooleanArrayMap arrayMap()
public Short2BooleanArrayMap arrayMap(int size)
size - the minimum capacity of the Mappublic Short2BooleanArrayMap arrayMap(short[] 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 Short2BooleanArrayMap arrayMap(java.lang.Short[] 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 Short2BooleanArrayMap arrayMap(Short2BooleanMap map)
map - that should be clonedpublic Short2BooleanArrayMap arrayMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map)
map - that should be clonedpublic Short2BooleanRBTreeMap rbTreeMap()
public Short2BooleanRBTreeMap rbTreeMap(ShortComparator comp)
comp - the Sorter of the TreeMappublic Short2BooleanRBTreeMap rbTreeMap(short[] keys, boolean[] values, ShortComparator 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 Short2BooleanRBTreeMap rbTreeMap(java.lang.Short[] keys, java.lang.Boolean[] values, ShortComparator 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 Short2BooleanRBTreeMap rbTreeMap(Short2BooleanMap map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2BooleanRBTreeMap rbTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2BooleanAVLTreeMap avlTreeMap()
public Short2BooleanAVLTreeMap avlTreeMap(ShortComparator comp)
comp - the Sorter of the TreeMappublic Short2BooleanAVLTreeMap avlTreeMap(short[] keys, boolean[] values, ShortComparator 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 Short2BooleanAVLTreeMap avlTreeMap(java.lang.Short[] keys, java.lang.Boolean[] values, ShortComparator 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 Short2BooleanAVLTreeMap avlTreeMap(Short2BooleanMap map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMappublic Short2BooleanAVLTreeMap avlTreeMap(java.util.Map<? extends java.lang.Short,? extends java.lang.Boolean> map, ShortComparator comp)
map - that should be clonedcomp - the Sorter of the TreeMap