Modul speiger.src.collections
Klasse Object2CharMap.MapBuilder
java.lang.Object
speiger.src.collections.objects.maps.interfaces.Object2CharMap.MapBuilder
- Umschließende Schnittstelle:
Object2CharMap<T>
Helper class that reduces the method spam of the Map Class.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<T> Object2CharArrayMap<T>arrayMap()Helper function to unify code<T> Object2CharArrayMap<T>arrayMap(int size) Helper function to unify code<T> Object2CharArrayMap<T>Helper function to unify code<T> Object2CharArrayMap<T>arrayMap(Object2CharMap<T> map) Helper function to unify code<T> Object2CharArrayMap<T>arrayMap(T[] keys, char[] values) Helper function to unify code<T> Object2CharArrayMap<T>Helper function to unify code<T> Object2CharAVLTreeMap<T>Helper function to unify code<T> Object2CharAVLTreeMap<T>avlTreeMap(Comparator<T> comp) Helper function to unify code<T> Object2CharAVLTreeMap<T>avlTreeMap(Map<? extends T, ? extends Character> map, Comparator<T> comp) Helper function to unify code<T> Object2CharAVLTreeMap<T>avlTreeMap(Object2CharMap<T> map, Comparator<T> comp) Helper function to unify code<T> Object2CharAVLTreeMap<T>avlTreeMap(T[] keys, char[] values, Comparator<T> comp) Helper function to unify code<T> Object2CharAVLTreeMap<T>avlTreeMap(T[] keys, Character[] values, Comparator<T> comp) Helper function to unify codecustomLinkedMap(int size, ObjectStrategy<T> strategy) Helper function to unify codecustomLinkedMap(Map<? extends T, ? extends Character> map, ObjectStrategy<T> strategy) Helper function to unify codecustomLinkedMap(Object2CharMap<T> map, ObjectStrategy<T> strategy) Helper function to unify codecustomLinkedMap(ObjectStrategy<T> strategy) Helper function to unify codecustomLinkedMap(T[] keys, char[] values, ObjectStrategy<T> strategy) Helper function to unify codecustomLinkedMap(T[] keys, Character[] values, ObjectStrategy<T> strategy) Helper function to unify code<T> Object2CharOpenCustomHashMap<T>customMap(int size, ObjectStrategy<T> strategy) Helper function to unify code<T> Object2CharOpenCustomHashMap<T>customMap(Map<? extends T, ? extends Character> map, ObjectStrategy<T> strategy) Helper function to unify code<T> Object2CharOpenCustomHashMap<T>customMap(Object2CharMap<T> map, ObjectStrategy<T> strategy) Helper function to unify code<T> Object2CharOpenCustomHashMap<T>customMap(ObjectStrategy<T> strategy) Helper function to unify code<T> Object2CharOpenCustomHashMap<T>customMap(T[] keys, char[] values, ObjectStrategy<T> strategy) Helper function to unify code<T> Object2CharOpenCustomHashMap<T>customMap(T[] keys, Character[] values, ObjectStrategy<T> strategy) Helper function to unify code<T extends Enum<T>>
Enum2CharMap<T>Helper function to unify code<T extends Enum<T>>
Enum2CharMap<T>Helper function to unify code<T extends Enum<T>>
Enum2CharMap<T>enumMap(Object2CharMap<T> map) Helper function to unify code<T extends Enum<T>>
Enum2CharMap<T>enumMap(T[] keys, char[] values) Helper function to unify code<T extends Enum<T>>
Enum2CharMap<T>Helper function to unify codeHelper function to unify codeimmutable(Object2CharMap<T> map) Helper function to unify codeimmutable(T[] keys, char[] values) Helper function to unify codeHelper function to unify code<T extends Enum<T>>
LinkedEnum2CharMap<T>linkedEnumMap(Class<T> keyType) Helper function to unify code<T extends Enum<T>>
LinkedEnum2CharMap<T>linkedEnumMap(Map<? extends T, ? extends Character> map) Helper function to unify code<T extends Enum<T>>
LinkedEnum2CharMap<T>linkedEnumMap(Object2CharMap<T> map) Helper function to unify code<T extends Enum<T>>
LinkedEnum2CharMap<T>linkedEnumMap(T[] keys, char[] values) Helper function to unify code<T extends Enum<T>>
LinkedEnum2CharMap<T>linkedEnumMap(T[] keys, Character[] values) Helper function to unify code<T> Object2CharLinkedOpenHashMap<T>Helper function to unify code<T> Object2CharLinkedOpenHashMap<T>linkedMap(int size) Helper function to unify codeHelper function to unify code<T> Object2CharLinkedOpenHashMap<T>linkedMap(Object2CharMap<T> map) Helper function to unify code<T> Object2CharLinkedOpenHashMap<T>linkedMap(T[] keys, char[] values) Helper function to unify code<T> Object2CharLinkedOpenHashMap<T>Helper function to unify code<T> Object2CharOpenHashMap<T>map()Helper function to unify code<T> Object2CharOpenHashMap<T>map(int size) Helper function to unify code<T> Object2CharOpenHashMap<T>Helper function to unify code<T> Object2CharOpenHashMap<T>map(Object2CharMap<T> map) Helper function to unify code<T> Object2CharOpenHashMap<T>map(T[] keys, char[] values) Helper function to unify code<T> Object2CharOpenHashMap<T>Helper function to unify code<T> Object2CharMap.BuilderCache<T>put(T key, char 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> Object2CharMap.BuilderCache<T>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> Object2CharRBTreeMap<T>Helper function to unify code<T> Object2CharRBTreeMap<T>rbTreeMap(Comparator<T> comp) Helper function to unify code<T> Object2CharRBTreeMap<T>rbTreeMap(Map<? extends T, ? extends Character> map, Comparator<T> comp) Helper function to unify code<T> Object2CharRBTreeMap<T>rbTreeMap(Object2CharMap<T> map, Comparator<T> comp) Helper function to unify code<T> Object2CharRBTreeMap<T>rbTreeMap(T[] keys, char[] values, Comparator<T> comp) Helper function to unify code<T> Object2CharRBTreeMap<T>rbTreeMap(T[] keys, Character[] values, Comparator<T> comp) Helper function to unify code<T> Object2CharMap.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> Object2CharMap.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
-
Konstruktordetails
-
MapBuilder
public MapBuilder()
-
-
Methodendetails
-
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- Typparameter:
T- the keyType of elements maintained by this Collection- Gibt zurück:
- a MapBuilder
-
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- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
size- the expected minimum size of Elements in the Map, default is 16- Gibt zurück:
- a MapBuilder
-
put
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- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
key- the key that should be addedvalue- the value that should be added- Gibt zurück:
- a MapBuilder with the key and value stored in it.
-
put
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- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
key- the key that should be addedvalue- the value that should be added- Gibt zurück:
- a MapBuilder with the key and value stored in it.
-
map
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Gibt zurück:
- a OpenHashMap
-
map
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
size- the minimum capacity of the Map- Gibt zurück:
- a OpenHashMap with a mimimum capacity
-
map
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a OpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
map
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a OpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
map
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a OpenHashMap thats copies the contents of the provided map
-
map
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a OpenHashMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-
linkedMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Gibt zurück:
- a LinkedOpenHashMap
-
linkedMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
size- the minimum capacity of the Map- Gibt zurück:
- a LinkedOpenHashMap with a mimimum capacity
-
linkedMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a LinkedOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
linkedMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a LinkedOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
linkedMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a LinkedOpenHashMap thats copies the contents of the provided map
-
linkedMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a LinkedOpenHashMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-
immutable
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a ImmutableOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
immutable
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a ImmutableOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
immutable
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a ImmutableOpenHashMap thats copies the contents of the provided map
-
immutable
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a ImmutableOpenHashMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-
enumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keyType- the EnumClass that should be used- Gibt zurück:
- a Empty EnumMap
-
enumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a EnumMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in lengthIllegalArgumentException- if the keys are in length 0- Note:
- the keys and values will be unboxed
-
enumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a EnumMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in lengthIllegalArgumentException- if the keys are in length 0
-
enumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a EnumMap thats copies the contents of the provided map
- Löst aus:
IllegalArgumentException- if the map is Empty and is not a EnumMap- Note:
- the map will be unboxed
-
enumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a EnumMap thats copies the contents of the provided map
- Löst aus:
IllegalArgumentException- if the map is Empty and is not a EnumMap
-
linkedEnumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keyType- the EnumClass that should be used- Gibt zurück:
- a Empty LinkedEnumMap
-
linkedEnumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a LinkedEnumMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in lengthIllegalArgumentException- if the keys are in length 0- Note:
- the keys and values will be unboxed
-
linkedEnumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a LinkedEnumMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in lengthIllegalArgumentException- if the keys are in length 0
-
linkedEnumMap
public <T extends Enum<T>> LinkedEnum2CharMap<T> linkedEnumMap(Map<? extends T, ? extends Character> map) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a LinkedEnumMap thats copies the contents of the provided map
- Löst aus:
IllegalArgumentException- if the map is Empty and is not a EnumMap- Note:
- the map will be unboxed
-
linkedEnumMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a LinkedEnumMap thats copies the contents of the provided map
- Löst aus:
IllegalArgumentException- if the map is Empty and is not a EnumMap
-
customMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
strategy- the Hash Controller- Gibt zurück:
- a CustomOpenHashMap
-
customMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
size- the minimum capacity of the Mapstrategy- the Hash Controller- Gibt zurück:
- a CustomOpenHashMap with a mimimum capacity
-
customMap
public <T> Object2CharOpenCustomHashMap<T> customMap(T[] keys, char[] values, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedstrategy- the Hash Controller- Gibt zurück:
- a CustomOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
customMap
public <T> Object2CharOpenCustomHashMap<T> customMap(T[] keys, Character[] values, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedstrategy- the Hash Controller- Gibt zurück:
- a CustomOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
customMap
public <T> Object2CharOpenCustomHashMap<T> customMap(Object2CharMap<T> map, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedstrategy- the Hash Controller- Gibt zurück:
- a CustomOpenHashMap thats copies the contents of the provided map
-
customMap
public <T> Object2CharOpenCustomHashMap<T> customMap(Map<? extends T, ? extends Character> map, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedstrategy- the Hash Controller- Gibt zurück:
- a CustomOpenHashMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-
customLinkedMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
strategy- the Hash Controller- Gibt zurück:
- a CustomLinkedOpenHashMap
-
customLinkedMap
public <T> Object2CharLinkedOpenCustomHashMap<T> customLinkedMap(int size, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
size- the minimum capacity of the Mapstrategy- the Hash Controller- Gibt zurück:
- a CustomLinkedOpenHashMap with a mimimum capacity
-
customLinkedMap
public <T> Object2CharLinkedOpenCustomHashMap<T> customLinkedMap(T[] keys, char[] values, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedstrategy- the Hash Controller- Gibt zurück:
- a CustomLinkedOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
customLinkedMap
public <T> Object2CharLinkedOpenCustomHashMap<T> customLinkedMap(T[] keys, Character[] values, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedstrategy- the Hash Controller- Gibt zurück:
- a CustomLinkedOpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
customLinkedMap
public <T> Object2CharLinkedOpenCustomHashMap<T> customLinkedMap(Object2CharMap<T> map, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedstrategy- the Hash Controller- Gibt zurück:
- a CustomLinkedOpenHashMap thats copies the contents of the provided map
-
customLinkedMap
public <T> Object2CharLinkedOpenCustomHashMap<T> customLinkedMap(Map<? extends T, ? extends Character> map, ObjectStrategy<T> strategy) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedstrategy- the Hash Controller- Gibt zurück:
- a CustomLinkedOpenHashMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-
arrayMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Gibt zurück:
- a OpenHashMap
-
arrayMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
size- the minimum capacity of the Map- Gibt zurück:
- a OpenHashMap with a mimimum capacity
-
arrayMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a OpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
arrayMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be inserted- Gibt zurück:
- a OpenHashMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
arrayMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a OpenHashMap thats copies the contents of the provided map
-
arrayMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be cloned- Gibt zurück:
- a OpenHashMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-
rbTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Gibt zurück:
- a RBTreeMap
-
rbTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
comp- the Sorter of the TreeMap- Gibt zurück:
- a RBTreeMap
-
rbTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedcomp- the Sorter of the TreeMap- Gibt zurück:
- a RBTreeMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
rbTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedcomp- the Sorter of the TreeMap- Gibt zurück:
- a RBTreeMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
rbTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedcomp- the Sorter of the TreeMap- Gibt zurück:
- a RBTreeMap thats copies the contents of the provided map
-
rbTreeMap
public <T> Object2CharRBTreeMap<T> rbTreeMap(Map<? extends T, ? extends Character> map, Comparator<T> comp) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedcomp- the Sorter of the TreeMap- Gibt zurück:
- a RBTreeMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-
avlTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Gibt zurück:
- a AVLTreeMap
-
avlTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
comp- the Sorter of the TreeMap- Gibt zurück:
- a AVLTreeMap
-
avlTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedcomp- the Sorter of the TreeMap- Gibt zurück:
- a AVLTreeMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length
-
avlTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
keys- the keys that should be insertedvalues- the values that should be insertedcomp- the Sorter of the TreeMap- Gibt zurück:
- a AVLTreeMap thats contains the injected values
- Löst aus:
IllegalStateException- if the keys and values do not match in length- Note:
- the keys and values will be unboxed
-
avlTreeMap
Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedcomp- the Sorter of the TreeMap- Gibt zurück:
- a AVLTreeMap thats copies the contents of the provided map
-
avlTreeMap
public <T> Object2CharAVLTreeMap<T> avlTreeMap(Map<? extends T, ? extends Character> map, Comparator<T> comp) Helper function to unify code- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
map- that should be clonedcomp- the Sorter of the TreeMap- Gibt zurück:
- a AVLTreeMap thats copies the contents of the provided map
- Note:
- the map will be unboxed
-