public static final class Char2ObjectMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<V> Char2ObjectArrayMap<V> |
arrayMap()
Helper function to unify code
|
<V> Char2ObjectArrayMap<V> |
arrayMap(char[] keys,
V[] values)
Helper function to unify code
|
<V> Char2ObjectArrayMap<V> |
arrayMap(Char2ObjectMap<V> map)
Helper function to unify code
|
<V> Char2ObjectArrayMap<V> |
arrayMap(java.lang.Character[] keys,
V[] values)
Helper function to unify code
|
<V> Char2ObjectArrayMap<V> |
arrayMap(int size)
Helper function to unify code
|
<V> Char2ObjectArrayMap<V> |
arrayMap(java.util.Map<? extends java.lang.Character,? extends V> map)
Helper function to unify code
|
<V> Char2ObjectAVLTreeMap<V> |
avlTreeMap()
Helper function to unify code
|
<V> Char2ObjectAVLTreeMap<V> |
avlTreeMap(char[] keys,
V[] values,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectAVLTreeMap<V> |
avlTreeMap(Char2ObjectMap<V> map,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectAVLTreeMap<V> |
avlTreeMap(java.lang.Character[] keys,
V[] values,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectAVLTreeMap<V> |
avlTreeMap(CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectAVLTreeMap<V> |
avlTreeMap(java.util.Map<? extends java.lang.Character,? extends V> map,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(char[] keys,
V[] values,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(Char2ObjectMap<V> map,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(java.lang.Character[] keys,
V[] values,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(int size,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(java.util.Map<? extends java.lang.Character,? extends V> map,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectOpenCustomHashMap<V> |
customMap(char[] keys,
V[] values,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectOpenCustomHashMap<V> |
customMap(Char2ObjectMap<V> map,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectOpenCustomHashMap<V> |
customMap(java.lang.Character[] keys,
V[] values,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectOpenCustomHashMap<V> |
customMap(CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectOpenCustomHashMap<V> |
customMap(int size,
CharStrategy strategy)
Helper function to unify code
|
<V> Char2ObjectOpenCustomHashMap<V> |
customMap(java.util.Map<? extends java.lang.Character,? extends V> map,
CharStrategy strategy)
Helper function to unify code
|
<V> ImmutableChar2ObjectOpenHashMap<V> |
immutable(char[] keys,
V[] values)
Helper function to unify code
|
<V> ImmutableChar2ObjectOpenHashMap<V> |
immutable(Char2ObjectMap<V> map)
Helper function to unify code
|
<V> ImmutableChar2ObjectOpenHashMap<V> |
immutable(java.lang.Character[] keys,
V[] values)
Helper function to unify code
|
<V> ImmutableChar2ObjectOpenHashMap<V> |
immutable(java.util.Map<? extends java.lang.Character,? extends V> map)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenHashMap<V> |
linkedMap()
Helper function to unify code
|
<V> Char2ObjectLinkedOpenHashMap<V> |
linkedMap(char[] keys,
V[] values)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenHashMap<V> |
linkedMap(Char2ObjectMap<V> map)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenHashMap<V> |
linkedMap(java.lang.Character[] keys,
V[] values)
Helper function to unify code
|
<V> Char2ObjectLinkedOpenHashMap<V> |
linkedMap(int size)
Helper function to unify code
|
<V> ImmutableChar2ObjectOpenHashMap<V> |
linkedMap(java.util.Map<? extends java.lang.Character,? extends V> map)
Helper function to unify code
|
<V> Char2ObjectOpenHashMap<V> |
map()
Helper function to unify code
|
<V> Char2ObjectOpenHashMap<V> |
map(char[] keys,
V[] values)
Helper function to unify code
|
<V> Char2ObjectOpenHashMap<V> |
map(Char2ObjectMap<V> map)
Helper function to unify code
|
<V> Char2ObjectOpenHashMap<V> |
map(java.lang.Character[] keys,
V[] values)
Helper function to unify code
|
<V> Char2ObjectOpenHashMap<V> |
map(int size)
Helper function to unify code
|
<V> Char2ObjectOpenHashMap<V> |
map(java.util.Map<? extends java.lang.Character,? extends V> map)
Helper function to unify code
|
<V> Char2ObjectMap.BuilderCache<V> |
put(java.lang.Character key,
V 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
|
<V> Char2ObjectMap.BuilderCache<V> |
put(char key,
V 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
|
<V> Char2ObjectRBTreeMap<V> |
rbTreeMap()
Helper function to unify code
|
<V> Char2ObjectRBTreeMap<V> |
rbTreeMap(char[] keys,
V[] values,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectRBTreeMap<V> |
rbTreeMap(Char2ObjectMap<V> map,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectRBTreeMap<V> |
rbTreeMap(java.lang.Character[] keys,
V[] values,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectRBTreeMap<V> |
rbTreeMap(CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectRBTreeMap<V> |
rbTreeMap(java.util.Map<? extends java.lang.Character,? extends V> map,
CharComparator comp)
Helper function to unify code
|
<V> Char2ObjectMap.BuilderCache<V> |
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
|
<V> Char2ObjectMap.BuilderCache<V> |
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 <V> Char2ObjectMap.BuilderCache<V> start()
V - the keyType of elements maintained by this Collectionpublic <V> Char2ObjectMap.BuilderCache<V> start(int size)
V - the keyType of elements maintained by this Collectionsize - the expected minimum size of Elements in the Map, default is 16public <V> Char2ObjectMap.BuilderCache<V> put(char key, V value)
V - the keyType of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <V> Char2ObjectMap.BuilderCache<V> put(java.lang.Character key, V value)
V - the keyType of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <V> Char2ObjectOpenHashMap<V> map()
V - the keyType of elements maintained by this Collectionpublic <V> Char2ObjectOpenHashMap<V> map(int size)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Char2ObjectOpenHashMap<V> map(char[] keys, V[] values)
V - 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 <V> Char2ObjectOpenHashMap<V> map(java.lang.Character[] keys, V[] values)
V - 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 <V> Char2ObjectOpenHashMap<V> map(Char2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Char2ObjectOpenHashMap<V> map(java.util.Map<? extends java.lang.Character,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Char2ObjectLinkedOpenHashMap<V> linkedMap()
V - the keyType of elements maintained by this Collectionpublic <V> Char2ObjectLinkedOpenHashMap<V> linkedMap(int size)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Char2ObjectLinkedOpenHashMap<V> linkedMap(char[] keys, V[] values)
V - 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 <V> Char2ObjectLinkedOpenHashMap<V> linkedMap(java.lang.Character[] keys, V[] values)
V - 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 <V> Char2ObjectLinkedOpenHashMap<V> linkedMap(Char2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableChar2ObjectOpenHashMap<V> linkedMap(java.util.Map<? extends java.lang.Character,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableChar2ObjectOpenHashMap<V> immutable(char[] keys, V[] values)
V - 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 <V> ImmutableChar2ObjectOpenHashMap<V> immutable(java.lang.Character[] keys, V[] values)
V - 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 <V> ImmutableChar2ObjectOpenHashMap<V> immutable(Char2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableChar2ObjectOpenHashMap<V> immutable(java.util.Map<? extends java.lang.Character,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Char2ObjectOpenCustomHashMap<V> customMap(CharStrategy strategy)
V - the keyType of elements maintained by this Collectionstrategy - the Hash Controllerpublic <V> Char2ObjectOpenCustomHashMap<V> customMap(int size, CharStrategy strategy)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <V> Char2ObjectOpenCustomHashMap<V> customMap(char[] keys, V[] values, CharStrategy strategy)
V - 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 <V> Char2ObjectOpenCustomHashMap<V> customMap(java.lang.Character[] keys, V[] values, CharStrategy strategy)
V - 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 <V> Char2ObjectOpenCustomHashMap<V> customMap(Char2ObjectMap<V> map, CharStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Char2ObjectOpenCustomHashMap<V> customMap(java.util.Map<? extends java.lang.Character,? extends V> map, CharStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Char2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(CharStrategy strategy)
V - the keyType of elements maintained by this Collectionstrategy - the Hash Controllerpublic <V> Char2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(int size, CharStrategy strategy)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <V> Char2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(char[] keys, V[] values, CharStrategy strategy)
V - 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 <V> Char2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(java.lang.Character[] keys, V[] values, CharStrategy strategy)
V - 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 <V> Char2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(Char2ObjectMap<V> map, CharStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Char2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(java.util.Map<? extends java.lang.Character,? extends V> map, CharStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Char2ObjectArrayMap<V> arrayMap()
V - the keyType of elements maintained by this Collectionpublic <V> Char2ObjectArrayMap<V> arrayMap(int size)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Char2ObjectArrayMap<V> arrayMap(char[] keys, V[] values)
V - 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 <V> Char2ObjectArrayMap<V> arrayMap(java.lang.Character[] keys, V[] values)
V - 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 <V> Char2ObjectArrayMap<V> arrayMap(Char2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Char2ObjectArrayMap<V> arrayMap(java.util.Map<? extends java.lang.Character,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Char2ObjectRBTreeMap<V> rbTreeMap()
V - the keyType of elements maintained by this Collectionpublic <V> Char2ObjectRBTreeMap<V> rbTreeMap(CharComparator comp)
V - the keyType of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <V> Char2ObjectRBTreeMap<V> rbTreeMap(char[] keys, V[] values, CharComparator comp)
V - 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 <V> Char2ObjectRBTreeMap<V> rbTreeMap(java.lang.Character[] keys, V[] values, CharComparator comp)
V - 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 <V> Char2ObjectRBTreeMap<V> rbTreeMap(Char2ObjectMap<V> map, CharComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Char2ObjectRBTreeMap<V> rbTreeMap(java.util.Map<? extends java.lang.Character,? extends V> map, CharComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Char2ObjectAVLTreeMap<V> avlTreeMap()
V - the keyType of elements maintained by this Collectionpublic <V> Char2ObjectAVLTreeMap<V> avlTreeMap(CharComparator comp)
V - the keyType of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <V> Char2ObjectAVLTreeMap<V> avlTreeMap(char[] keys, V[] values, CharComparator comp)
V - 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 <V> Char2ObjectAVLTreeMap<V> avlTreeMap(java.lang.Character[] keys, V[] values, CharComparator comp)
V - 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 <V> Char2ObjectAVLTreeMap<V> avlTreeMap(Char2ObjectMap<V> map, CharComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Char2ObjectAVLTreeMap<V> avlTreeMap(java.util.Map<? extends java.lang.Character,? extends V> map, CharComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMap