Class DefaultWriteableMap<T>

java.lang.Object
ch.tocco.nice2.toolbox.api.collection.DefaultWriteableMap<T>
All Implemented Interfaces:
ReadOnlyMap<T>, WriteableMap<T>
Direct Known Subclasses:
MailWorkerContextImpl, ReaderResult

public class DefaultWriteableMap<T> extends Object implements WriteableMap<T>

Default implementation of WriteableMap which uses a map of object values.

Note that any getter may throw a ClassCastException when casting the object down to the requested type, though this does not happen, when only the interface methods are used to put values in the map.