public List<NodeEvent> getAndClearEventslist() {
		ArrayList<NodeEvent> result = new ArrayList<NodeEvent>(eventslist);
		eventslist.clear();
		return result;
	}
public List<NodeEvent> getAndClearEventslist() {
		ArrayList<NodeEvent> result = new ArrayList<NodeEvent>(eventslist);
		eventslist.clear();
		return result;
	}
public List < NodeEvent > getAndClearEventslist ( ) { ArrayList < NodeEvent > result = new ArrayList < NodeEvent > ( eventslist ) ; eventslist . clear ( ) ; return result ; }
Gets the copy of the buffer and clears the buffer.

@return - the copy of events since the last call of this method.
Gets the copy of the buffer and clears the buffer .