Package fr.ird.observe.spi.map
Class MutableDtoMap<V>
- java.lang.Object
-
- fr.ird.observe.spi.map.MutableDtoMap<V>
-
public class MutableDtoMap<V> extends Object
A special map to store string values using thekey0(Class)method to produce keys.Created by tchemit on 01/09/17.
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMutableDtoMap(MutableDtoMap<V> dtoMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()static <V> MutableDtoMap<V>create()Vget(Class key)booleanisEmpty()Set<String>keySet()voidput(Class type, V value)intsize()Collection<V>values()
-
-
-
Constructor Detail
-
MutableDtoMap
protected MutableDtoMap(MutableDtoMap<V> dtoMap)
-
-
Method Detail
-
create
public static <V> MutableDtoMap<V> create()
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
values
public Collection<V> values()
-
clear
public void clear()
-
-