Package org.fastnate.data.properties
Class PluralPropertyContents.MapCollection<E>
java.lang.Object
org.fastnate.data.properties.PluralPropertyContents<E>
org.fastnate.data.properties.PluralPropertyContents.MapCollection<E>
- Enclosing class:
PluralPropertyContents<E>
private static final class PluralPropertyContents.MapCollection<E>
extends PluralPropertyContents<E>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidcreate()(package private) voidsetCollection(Object value) voidsetElement(int index, Object key, E element) Sets an element in the collection resp. map.Methods inherited from class org.fastnate.data.properties.PluralPropertyContents
addElement, create
-
Field Details
-
collection
-
-
Constructor Details
-
MapCollection
public MapCollection()
-
-
Method Details
-
create
void create()- Specified by:
createin classPluralPropertyContents<E>
-
setCollection
- Specified by:
setCollectionin classPluralPropertyContents<E>
-
setElement
Description copied from class:PluralPropertyContentsSets an element in the collection resp. map.- Specified by:
setElementin classPluralPropertyContents<E>- Parameters:
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
-
getCollection
- Specified by:
getCollectionin classPluralPropertyContents<E>
-