private static final class PluralPropertyContents.ListCollection<E> extends PluralPropertyContents<E>
| Modifier and Type | Field and Description |
|---|---|
private List<E> |
collection |
| Constructor and Description |
|---|
ListCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(E element)
Adds an element to the end of the collection.
|
(package private) void |
create() |
(package private) List<E> |
getCollection() |
(package private) void |
setCollection(Object value) |
void |
setElement(int index,
Object key,
E element)
Sets an element in the collection resp. map.
|
create@Generated(value="lombok") public ListCollection()
public void addElement(E element)
PluralPropertyContentsaddElement in class PluralPropertyContents<E>element - the element to add to the end of the collectionvoid create()
create in class PluralPropertyContents<E>void setCollection(Object value)
setCollection in class PluralPropertyContents<E>public void setElement(int index,
Object key,
E element)
PluralPropertyContentssetElement in class PluralPropertyContents<E>index - the index of the added element, if the contents is a listkey - the key of the element, if the contents is a mapelement - the element to add@Generated(value="lombok") List<E> getCollection()
getCollection in class PluralPropertyContents<E>Copyright © 2022 fastnate.org. All rights reserved.