public interface ElementCollector
Collects (List/Set/Map) of elements.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(Object element) Add an element.voidaddKeyValue(Object key, Object element) Add an element.Return the populated collection/map.
-
Method Details
-
addElement
Add an element. -
addKeyValue
Add an element. -
collection
Object collection()Return the populated collection/map.
-