code: public Collection<Event> findEvents(SearchCriteria criteria, Collection<Event> events) {
  		if (criteria == null) {
  			throw new IllegalArgumentException("criteria must be non-null");
  		}
  
  		Collection<Event> matches = new ArrayList<Event>();
  
  		for (Event event : events) {
  			if (isMatchingEvent(criteria, event)) {
  				matches.add(event);
  			}
  		}
  
  		return matches;
  	}
docs: A finder for Event objects in the EventStore
  
  @param criteria the {@link org.owasp.appsensor.core.criteria.SearchCriteria} object to search by
  @param events the {@link Event} objects to match on - supplied by subclasses
  @return a {@link java.util.Collection} of {@link org.owasp.appsensor.core.Event} objects matching the search criteria.