/** * Remove every element at the end of this Pipeline. */ @Override public void remove() { for (final Object object : this) { ((Element) object).remove(); } }
/** * Remove this element from the graph. */ protected void remove() { element.remove(); }
public void remove() { this.baseElement.remove(); }
@Override public void remove() { if (current != null) { current.remove(); current = null; } else { throw new IllegalStateException(); } } };
@Override public void remove() { if (current instanceof Element) { ((Element) current).remove(); current = null; } else { throw new UnsupportedOperationException("Current must be an element to remove"); } }