code: @Override
  	public boolean add(String string) {
  		if (filter.accept(string)) {
  			list.add(string);
  			return true;
  		}
  		return false;
  	}
docs: Add a string if it matches this filter pattern.
  
  @param string string to add to this strings list.
  @return true if given <code>string</code> argument matches the pattern and was added to this strings list.