public class PropertyMap extends Object implements Iterable<PropertyType<?>>
PropertyType
. The map can delegate to an optional
another properties (thus forming a chain) in order to provide a modified version of an existing map
by wrapping it with a map.Constructor and Description |
---|
PropertyMap() |
PropertyMap(PropertyMap delegate) |
Modifier and Type | Method and Description |
---|---|
<T> void |
addValue(PropertyType<T> property,
T value) |
<T> void |
addValues(PropertyType<T> property,
Iterable<? extends T> values) |
<T> void |
addValues(PropertyType<T> property,
T... values) |
<T> boolean |
contains(PropertyType<T> property) |
<T> T |
getValue(PropertyType<T> property) |
<T> Iterable<T> |
getValues(PropertyType<T> property) |
Iterator<PropertyType<?>> |
iterator() |
<T> void |
remove(PropertyType<T> property) |
<T> void |
setValue(PropertyType<T> property,
T value) |
<T> void |
setValues(PropertyType<T> property,
Iterable<? extends T> values) |
<T> void |
setValues(PropertyType<T> property,
T... values) |
public PropertyMap()
public PropertyMap(PropertyMap delegate)
public Iterator<PropertyType<?>> iterator()
iterator
in interface Iterable<PropertyType<?>>
public <T> T getValue(PropertyType<T> property)
public <T> Iterable<T> getValues(PropertyType<T> property) throws NullPointerException
NullPointerException
public <T> void setValue(PropertyType<T> property, T value) throws NullPointerException
NullPointerException
public <T> void setValues(PropertyType<T> property, T... values) throws NullPointerException
NullPointerException
public <T> void setValues(PropertyType<T> property, Iterable<? extends T> values) throws NullPointerException
NullPointerException
public <T> void addValue(PropertyType<T> property, T value) throws NullPointerException
NullPointerException
public <T> void addValues(PropertyType<T> property, T... values) throws NullPointerException
NullPointerException
public <T> void addValues(PropertyType<T> property, Iterable<? extends T> values) throws NullPointerException
NullPointerException
public <T> void remove(PropertyType<T> property) throws NullPointerException
NullPointerException
public <T> boolean contains(PropertyType<T> property) throws NullPointerException
NullPointerException
Copyright © 2015 eXo Platform SAS. All rights reserved.