T - the type of items in the iterable.public class EmptyClosableIterable<T> extends Object implements CloseableIterable<T>
EmptyCloseableIterable is an Iterable which is backed by a
EmptyCloseableIterator, and contains no objects.
This is useful when a Iterable is required, but there is no data present.| Constructor and Description |
|---|
EmptyClosableIterable() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object obj) |
int |
hashCode() |
CloseableIterator<T> |
iterator() |
getClass, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface CloseableIterable<T>public CloseableIterator<T> iterator()
Copyright © 2022. All rights reserved.