Package fr.ird.observe.spi.map
Class ImmutableDtoMap<V>
- java.lang.Object
-
- fr.ird.observe.spi.map.ImmutableDtoMap<V>
-
public class ImmutableDtoMap<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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableDtoMap.Builder<V>
-
Constructor Summary
Constructors Modifier Constructor Description protectedImmutableDtoMap(com.google.common.collect.ImmutableMap<String,V> data)protectedImmutableDtoMap(ImmutableDtoMap<V> dtoMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <V> ImmutableDtoMap.Builder<V>builder()booleancontainsEntry(Class type, V value)Vget(Class key)booleanisEmpty()Set<String>keySet()intsize()Collection<V>values()
-
-
-
Constructor Detail
-
ImmutableDtoMap
protected ImmutableDtoMap(ImmutableDtoMap<V> dtoMap)
-
-
Method Detail
-
builder
public static <V> ImmutableDtoMap.Builder<V> builder()
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
values
public Collection<V> values()
-
-