T
- Type of elements returned by this iteratorpublic interface CloseableIterator<T> extends Iterator<T>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
static <T> CloseableIterator<T> |
empty()
Returns an empty
CloseableIterator that contains no element. |
forEachRemaining, hasNext, next, remove
static <T> CloseableIterator<T> empty()
CloseableIterator
that contains no element.void close()
close
in interface AutoCloseable
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.