@Test(expected = UnsupportedOperationException.class) public void testRemove() { new EmptyLsaIterator().remove(); }
@Override public void remove() { throw new UnsupportedOperationException("remove not supported"); }
LsaIterator implements Iterator<T> { @Override public void remove() { throw new UnsupportedOperationException("remove not supported"); } }
LsaIterator implements Iterator<T> { @Override public void remove() { throw new UnsupportedOperationException("remove not supported"); }  }
LsaIterator implements Iterator<T> { @Override public void remove() { throw new UnsupportedOperationException("remove not supported"); }  @Override void remove(); @Override final T next(); abstract T nextIteration(); }
LsaIterator implements Iterator<T> { @Override public void remove() { throw new UnsupportedOperationException("remove not supported"); }  @Override void remove(); @Override final T next(); abstract T nextIteration();  }