Class StringValueMap<T extends Serializable>

java.lang.Object
ch.tocco.nice2.toolbox.api.collection.StringValueMap<T>
All Implemented Interfaces:
ReadOnlyMap<T>, WriteableMap<T>, Serializable

public class StringValueMap<T extends Serializable> extends Object implements WriteableMap<T>, Serializable

Implementation of WriteableMap that uses strings as values. This class is not thread safe by default. You may use a synchronized map implementation as underlying map to make this thread safe.

All getters that return a number may throw NumberFormatException when parsing the string value, though this does not happen when only the interface methods are used to put values in the map.

See Also: