code: public void addSearchResult(CaptureSearchResult result, boolean append) {
  		String resultDate = result.getCaptureTimestamp();
  		if ((firstResultTimestamp == null) ||
  				(firstResultTimestamp.compareTo(resultDate) > 0)) {
  			firstResultTimestamp = resultDate;
  		}
  		if ((lastResultTimestamp == null) ||
  				(lastResultTimestamp.compareTo(resultDate) < 0)) {
  			lastResultTimestamp = resultDate;
  		}
  
  		if (append) {
  
  			if (!results.isEmpty()) {
  				results.getLast().setNextResult(result);
  				result.setPrevResult(results.getLast());
  			}
  
  			results.add(result);
  		} else {
  			if (!results.isEmpty()) {
  				results.getFirst().setPrevResult(result);
  				result.setNextResult(results.getFirst());
  			}
  
  			results.add(0, result);
  		}
  	}
docs: Add a result to this results, at either the beginning or the end,
  depending on the append argument
  @param result SearchResult to add to this set
  @param append