T - type of the iterated objects.public interface CloseableIterable<T> extends Iterable<T>, Closeable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloseableIterable.Empty<T>
Empty iterator.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> CloseableIterable<T> |
empty()
Returns an empty iterator.
|
forEach, iterator, spliteratorstatic <T> CloseableIterable<T> empty()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.