private static final class PluralPropertyContents.SetCollection<E,V> extends PluralPropertyContents<V>
| Modifier and Type | Field and Description |
|---|---|
private Set<V> |
collection |
| Constructor and Description |
|---|
SetCollection() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
create() |
(package private) Set<V> |
getCollection() |
(package private) void |
setCollection(Object value) |
void |
setElement(int index,
Object key,
V element)
Sets an element in the collection resp. map.
|
addElement, create@Generated(value="lombok") public SetCollection()
void create()
create in class PluralPropertyContents<V>void setCollection(Object value)
setCollection in class PluralPropertyContents<V>public void setElement(int index,
Object key,
V element)
PluralPropertyContentssetElement in class PluralPropertyContents<V>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") Set<V> getCollection()
getCollection in class PluralPropertyContents<V>Copyright © 2022 fastnate.org. All rights reserved.