question: method getevent.returns the contents of the collection in an array . note : just in case the collection contents are changing in another thread , we pass a 0-length array of the correct type into the api call . this way we know that the array returned is of exactly the correct length . concode_field_sep java.util.List<org.opennms.netmgt.xml.event.Event> _eventList concode_elem_sep long serialVersionUID concode_field_sep void addEvent concode_elem_sep void addEvent concode_elem_sep java.util.Iterator<org.opennms.netmgt.xml.event.Event> iterateEvent concode_elem_sep java.util.Enumeration<org.opennms.netmgt.xml.event.Event> enumerateEvent concode_elem_sep void removeAllEvent concode_elem_sep boolean removeEvent concode_elem_sep void setEventCollection concode_elem_sep void setEvent concode_elem_sep void setEvent concode_elem_sep void setEvent concode_elem_sep String toString concode_elem_sep int getEventCount concode_elem_sep org.opennms.netmgt.xml.event.Event removeEventAt concode_elem_sep java.util.List<org.opennms.netmgt.xml.event.Event> getEventCollection
target: org . opennms . netmgt . xml . event . Event [ ] function ( ) { org . opennms . netmgt . xml . event . Event [ ] loc0 = new org . opennms . netmgt . xml . event . Event [ 0 ] ; return ( org . opennms . netmgt . xml . event . Event [ ] ) this . _eventList . toArray ( loc0 ) ; }