T
- the type of items in the iterable.@Deprecated public interface CloseableIterable<T> extends Iterable<T>, Closeable
CloseableIterable
is an Iterable
which must provide an implementation
of the Closeable.close()
method.Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
CloseableIterator<T> |
iterator()
Deprecated.
|
forEach, spliterator
void close()
close
in interface AutoCloseable
close
in interface Closeable
CloseableIterator<T> iterator()
Copyright © 2021. All rights reserved.