code: @SuppressWarnings("unchecked")
  	@Override 
  	public boolean remove(Object o) {
  		if (elements instanceof List<?>) {
  			try {
  				final List<T> l = (List<T>) elements;
  				int pos = Collections.binarySearch(l, (T) o);
  				if (pos < 0)
  					return false;
  				l.remove(pos);
  				return true;
  			} catch (ClassCastException e) {
  				return false;
  			}
  		}
  		return elements.remove(o);
  	}
docs: {@inheritDoc}