public class PropertyList extends Object implements ContentContainer<Property>
Constructor and Description |
---|
PropertyList()
Default constructor.
|
PropertyList(List<Property> properties)
Creates an unmodifiable copy of the specified property list.
|
Modifier and Type | Method and Description |
---|---|
ContentContainer<Property> |
add(Property content) |
ContentContainer<Property> |
addAll(Collection<Property> content) |
boolean |
equals(Object o) |
List<Property> |
getAll() |
List<Property> |
getProperties(String name)
Deprecated.
|
<T extends Property> |
getProperty(String aName)
Deprecated.
|
int |
hashCode() |
ContentContainer<Property> |
remove(Property content) |
ContentContainer<Property> |
removeAll(String... name) |
ContentContainer<Property> |
replace(Property content) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
get, getFirst, getRequired
public ContentContainer<Property> add(Property content)
add
in interface ContentContainer<Property>
public ContentContainer<Property> addAll(Collection<Property> content)
addAll
in interface ContentContainer<Property>
public ContentContainer<Property> remove(Property content)
remove
in interface ContentContainer<Property>
public ContentContainer<Property> removeAll(String... name)
removeAll
in interface ContentContainer<Property>
public ContentContainer<Property> replace(Property content)
replace
in interface ContentContainer<Property>
public List<Property> getAll()
getAll
in interface ContentContainer<Property>
@Deprecated public final <T extends Property> Optional<T> getProperty(String aName)
ContentContainer.getFirst(String)
aName
- name of property to return@Deprecated public final List<Property> getProperties(String name)
ContentContainer.get(String)
name
- name of properties to return