public static final class Object2BooleanMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<T> Object2BooleanArrayMap<T> |
arrayMap()
Helper function to unify code
|
<T> Object2BooleanArrayMap<T> |
arrayMap(int size)
Helper function to unify code
|
<T> Object2BooleanArrayMap<T> |
arrayMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
Helper function to unify code
|
<T> Object2BooleanArrayMap<T> |
arrayMap(Object2BooleanMap<T> map)
Helper function to unify code
|
<T> Object2BooleanArrayMap<T> |
arrayMap(T[] keys,
boolean[] values)
Helper function to unify code
|
<T> Object2BooleanArrayMap<T> |
arrayMap(T[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
<T> Object2BooleanAVLTreeMap<T> |
avlTreeMap()
Helper function to unify code
|
<T> Object2BooleanAVLTreeMap<T> |
avlTreeMap(java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanAVLTreeMap<T> |
avlTreeMap(java.util.Map<? extends T,? extends java.lang.Boolean> map,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanAVLTreeMap<T> |
avlTreeMap(Object2BooleanMap<T> map,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanAVLTreeMap<T> |
avlTreeMap(T[] keys,
boolean[] values,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanAVLTreeMap<T> |
avlTreeMap(T[] keys,
java.lang.Boolean[] values,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenCustomHashMap<T> |
customLinkedMap(int size,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenCustomHashMap<T> |
customLinkedMap(java.util.Map<? extends T,? extends java.lang.Boolean> map,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenCustomHashMap<T> |
customLinkedMap(Object2BooleanMap<T> map,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenCustomHashMap<T> |
customLinkedMap(ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenCustomHashMap<T> |
customLinkedMap(T[] keys,
boolean[] values,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenCustomHashMap<T> |
customLinkedMap(T[] keys,
java.lang.Boolean[] values,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanOpenCustomHashMap<T> |
customMap(int size,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanOpenCustomHashMap<T> |
customMap(java.util.Map<? extends T,? extends java.lang.Boolean> map,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanOpenCustomHashMap<T> |
customMap(Object2BooleanMap<T> map,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanOpenCustomHashMap<T> |
customMap(ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanOpenCustomHashMap<T> |
customMap(T[] keys,
boolean[] values,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T> Object2BooleanOpenCustomHashMap<T> |
customMap(T[] keys,
java.lang.Boolean[] values,
ObjectStrategy<T> strategy)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
enumMap(java.lang.Class<T> keyType)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
enumMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
enumMap(Object2BooleanMap<T> map)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
enumMap(T[] keys,
boolean[] values)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
enumMap(T[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
<T> ImmutableObject2BooleanOpenHashMap<T> |
immutable(java.util.Map<? extends T,? extends java.lang.Boolean> map)
Helper function to unify code
|
<T> ImmutableObject2BooleanOpenHashMap<T> |
immutable(Object2BooleanMap<T> map)
Helper function to unify code
|
<T> ImmutableObject2BooleanOpenHashMap<T> |
immutable(T[] keys,
boolean[] values)
Helper function to unify code
|
<T> ImmutableObject2BooleanOpenHashMap<T> |
immutable(T[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
linkedEnumMap(java.lang.Class<T> keyType)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
linkedEnumMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
linkedEnumMap(Object2BooleanMap<T> map)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
linkedEnumMap(T[] keys,
boolean[] values)
Helper function to unify code
|
<T extends java.lang.Enum<T>> |
linkedEnumMap(T[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenHashMap<T> |
linkedMap()
Helper function to unify code
|
<T> Object2BooleanLinkedOpenHashMap<T> |
linkedMap(int size)
Helper function to unify code
|
<T> ImmutableObject2BooleanOpenHashMap<T> |
linkedMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenHashMap<T> |
linkedMap(Object2BooleanMap<T> map)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenHashMap<T> |
linkedMap(T[] keys,
boolean[] values)
Helper function to unify code
|
<T> Object2BooleanLinkedOpenHashMap<T> |
linkedMap(T[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
<T> Object2BooleanOpenHashMap<T> |
map()
Helper function to unify code
|
<T> Object2BooleanOpenHashMap<T> |
map(int size)
Helper function to unify code
|
<T> Object2BooleanOpenHashMap<T> |
map(java.util.Map<? extends T,? extends java.lang.Boolean> map)
Helper function to unify code
|
<T> Object2BooleanOpenHashMap<T> |
map(Object2BooleanMap<T> map)
Helper function to unify code
|
<T> Object2BooleanOpenHashMap<T> |
map(T[] keys,
boolean[] values)
Helper function to unify code
|
<T> Object2BooleanOpenHashMap<T> |
map(T[] keys,
java.lang.Boolean[] values)
Helper function to unify code
|
<T> Object2BooleanMap.BuilderCache<T> |
put(T 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
|
<T> Object2BooleanMap.BuilderCache<T> |
put(T 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
|
<T> Object2BooleanRBTreeMap<T> |
rbTreeMap()
Helper function to unify code
|
<T> Object2BooleanRBTreeMap<T> |
rbTreeMap(java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanRBTreeMap<T> |
rbTreeMap(java.util.Map<? extends T,? extends java.lang.Boolean> map,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanRBTreeMap<T> |
rbTreeMap(Object2BooleanMap<T> map,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanRBTreeMap<T> |
rbTreeMap(T[] keys,
boolean[] values,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanRBTreeMap<T> |
rbTreeMap(T[] keys,
java.lang.Boolean[] values,
java.util.Comparator<T> comp)
Helper function to unify code
|
<T> Object2BooleanMap.BuilderCache<T> |
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
|
<T> Object2BooleanMap.BuilderCache<T> |
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 <T> Object2BooleanMap.BuilderCache<T> start()
T - the keyType of elements maintained by this Collectionpublic <T> Object2BooleanMap.BuilderCache<T> start(int size)
T - the keyType of elements maintained by this Collectionsize - the expected minimum size of Elements in the Map, default is 16public <T> Object2BooleanMap.BuilderCache<T> put(T key, boolean value)
T - the keyType of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <T> Object2BooleanMap.BuilderCache<T> put(T key, java.lang.Boolean value)
T - the keyType of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <T> Object2BooleanOpenHashMap<T> map()
T - the keyType of elements maintained by this Collectionpublic <T> Object2BooleanOpenHashMap<T> map(int size)
T - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <T> Object2BooleanOpenHashMap<T> map(T[] keys, boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> Object2BooleanOpenHashMap<T> map(T[] keys, java.lang.Boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> Object2BooleanOpenHashMap<T> map(Object2BooleanMap<T> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T> Object2BooleanOpenHashMap<T> map(java.util.Map<? extends T,? extends java.lang.Boolean> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T> Object2BooleanLinkedOpenHashMap<T> linkedMap()
T - the keyType of elements maintained by this Collectionpublic <T> Object2BooleanLinkedOpenHashMap<T> linkedMap(int size)
T - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <T> Object2BooleanLinkedOpenHashMap<T> linkedMap(T[] keys, boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> Object2BooleanLinkedOpenHashMap<T> linkedMap(T[] keys, java.lang.Boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> Object2BooleanLinkedOpenHashMap<T> linkedMap(Object2BooleanMap<T> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T> ImmutableObject2BooleanOpenHashMap<T> linkedMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T> ImmutableObject2BooleanOpenHashMap<T> immutable(T[] keys, boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> ImmutableObject2BooleanOpenHashMap<T> immutable(T[] keys, java.lang.Boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> ImmutableObject2BooleanOpenHashMap<T> immutable(Object2BooleanMap<T> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T> ImmutableObject2BooleanOpenHashMap<T> immutable(java.util.Map<? extends T,? extends java.lang.Boolean> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T extends java.lang.Enum<T>> Enum2BooleanMap<T> enumMap(java.lang.Class<T> keyType)
T - the keyType of elements maintained by this CollectionkeyType - the EnumClass that should be usedpublic <T extends java.lang.Enum<T>> Enum2BooleanMap<T> enumMap(T[] keys, java.lang.Boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthjava.lang.IllegalArgumentException - if the keys are in length 0public <T extends java.lang.Enum<T>> Enum2BooleanMap<T> enumMap(T[] keys, boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthjava.lang.IllegalArgumentException - if the keys are in length 0public <T extends java.lang.Enum<T>> Enum2BooleanMap<T> enumMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedjava.lang.IllegalArgumentException - if the map is Empty and is not a EnumMappublic <T extends java.lang.Enum<T>> Enum2BooleanMap<T> enumMap(Object2BooleanMap<T> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedjava.lang.IllegalArgumentException - if the map is Empty and is not a EnumMappublic <T extends java.lang.Enum<T>> LinkedEnum2BooleanMap<T> linkedEnumMap(java.lang.Class<T> keyType)
T - the keyType of elements maintained by this CollectionkeyType - the EnumClass that should be usedpublic <T extends java.lang.Enum<T>> LinkedEnum2BooleanMap<T> linkedEnumMap(T[] keys, java.lang.Boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthjava.lang.IllegalArgumentException - if the keys are in length 0public <T extends java.lang.Enum<T>> LinkedEnum2BooleanMap<T> linkedEnumMap(T[] keys, boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthjava.lang.IllegalArgumentException - if the keys are in length 0public <T extends java.lang.Enum<T>> LinkedEnum2BooleanMap<T> linkedEnumMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedjava.lang.IllegalArgumentException - if the map is Empty and is not a EnumMappublic <T extends java.lang.Enum<T>> LinkedEnum2BooleanMap<T> linkedEnumMap(Object2BooleanMap<T> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedjava.lang.IllegalArgumentException - if the map is Empty and is not a EnumMappublic <T> Object2BooleanOpenCustomHashMap<T> customMap(ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionstrategy - the Hash Controllerpublic <T> Object2BooleanOpenCustomHashMap<T> customMap(int size, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <T> Object2BooleanOpenCustomHashMap<T> customMap(T[] keys, boolean[] values, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanOpenCustomHashMap<T> customMap(T[] keys, java.lang.Boolean[] values, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanOpenCustomHashMap<T> customMap(Object2BooleanMap<T> map, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <T> Object2BooleanOpenCustomHashMap<T> customMap(java.util.Map<? extends T,? extends java.lang.Boolean> map, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <T> Object2BooleanLinkedOpenCustomHashMap<T> customLinkedMap(ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionstrategy - the Hash Controllerpublic <T> Object2BooleanLinkedOpenCustomHashMap<T> customLinkedMap(int size, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <T> Object2BooleanLinkedOpenCustomHashMap<T> customLinkedMap(T[] keys, boolean[] values, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanLinkedOpenCustomHashMap<T> customLinkedMap(T[] keys, java.lang.Boolean[] values, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanLinkedOpenCustomHashMap<T> customLinkedMap(Object2BooleanMap<T> map, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <T> Object2BooleanLinkedOpenCustomHashMap<T> customLinkedMap(java.util.Map<? extends T,? extends java.lang.Boolean> map, ObjectStrategy<T> strategy)
T - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <T> Object2BooleanArrayMap<T> arrayMap()
T - the keyType of elements maintained by this Collectionpublic <T> Object2BooleanArrayMap<T> arrayMap(int size)
T - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <T> Object2BooleanArrayMap<T> arrayMap(T[] keys, boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> Object2BooleanArrayMap<T> arrayMap(T[] keys, java.lang.Boolean[] values)
T - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <T> Object2BooleanArrayMap<T> arrayMap(Object2BooleanMap<T> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T> Object2BooleanArrayMap<T> arrayMap(java.util.Map<? extends T,? extends java.lang.Boolean> map)
T - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <T> Object2BooleanRBTreeMap<T> rbTreeMap()
T - the keyType of elements maintained by this Collectionpublic <T> Object2BooleanRBTreeMap<T> rbTreeMap(java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <T> Object2BooleanRBTreeMap<T> rbTreeMap(T[] keys, boolean[] values, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanRBTreeMap<T> rbTreeMap(T[] keys, java.lang.Boolean[] values, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanRBTreeMap<T> rbTreeMap(Object2BooleanMap<T> map, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <T> Object2BooleanRBTreeMap<T> rbTreeMap(java.util.Map<? extends T,? extends java.lang.Boolean> map, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <T> Object2BooleanAVLTreeMap<T> avlTreeMap()
T - the keyType of elements maintained by this Collectionpublic <T> Object2BooleanAVLTreeMap<T> avlTreeMap(java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <T> Object2BooleanAVLTreeMap<T> avlTreeMap(T[] keys, boolean[] values, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanAVLTreeMap<T> avlTreeMap(T[] keys, java.lang.Boolean[] values, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionkeys - 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 <T> Object2BooleanAVLTreeMap<T> avlTreeMap(Object2BooleanMap<T> map, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <T> Object2BooleanAVLTreeMap<T> avlTreeMap(java.util.Map<? extends T,? extends java.lang.Boolean> map, java.util.Comparator<T> comp)
T - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMap