/** * Removes the current entry. */ public final void remove() { if (hasNext == AFTER_NEXT) { hasNext = 0; iterator.remove(); } else { throw new IllegalStateException(); } } }
/** * Removes the current entry. */ public final void remove() { if (hasNext == AFTER_NEXT) { hasNext = 0; iterator.remove(); } else { throw new IllegalStateException(); } } }