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