/guava/guava/src/com/google/common/collect/Iterators.java
checkNonnegative( position) ;checkNotNull( iterator) ;
checkNotNull ( iterator ) ;
public void remove() { iterator.remove(); } }; } public static <T extends @Nullable Object> Iterator<T> consumingIterator(Iterator<T> iterator) { <extra_id_0> return new UnmodifiableIterator<T>() { @Override public boolean hasNext() { return iterator.hasNext(); } @Override