public class SinglePropertyMap<T> extends Object implements PropertyMap
EMPTY
Modifier and Type | Method and Description |
---|---|
boolean |
contains(PropertyId<?> pid) |
<V> V |
get(PropertyId<V> pid) |
PropertyId<?> |
getKey(int i) |
static <T> SinglePropertyMap |
newInstance(PropertyId<T> pid,
T value) |
int |
size() |
public <V> V get(PropertyId<V> pid)
get
in interface PropertyMap
public boolean contains(PropertyId<?> pid)
contains
in interface PropertyMap
public int size()
size
in interface PropertyMap
public PropertyId<?> getKey(int i)
getKey
in interface PropertyMap
public static <T> SinglePropertyMap newInstance(PropertyId<T> pid, T value)