de.cesr.lara.components.util.impl
Class LPreferenceWeightMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<Class<? extends LaraPreference>,Double>
de.cesr.lara.components.util.impl.LPreferenceWeightMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Class<? extends LaraPreference>,Double>
public class LPreferenceWeightMap
- extends LinkedHashMap<Class<? extends LaraPreference>,Double>
Overrides AbstractMap.toString()
in order to return an alphabetically
ordered list of preferenceWeights and preference values.
Supports fast instantiation.
- See Also:
- Serialized Form
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
LPreferenceWeightMap
public LPreferenceWeightMap()
LPreferenceWeightMap
public LPreferenceWeightMap(LPrefEntry... entry)
- Parameters:
map
-
LPreferenceWeightMap
public LPreferenceWeightMap(Map<Class<? extends LaraPreference>,Double> map)
- Parameters:
map
-
toString
public String toString()
- Overrides:
toString
in class AbstractMap<Class<? extends LaraPreference>,Double>