public interface CloseableIterator<T> extends Iterator<T>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
forEachRemaining, hasNext, next, remove
void close() throws IOException
close
in interface AutoCloseable
IOException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.