V
- public static class QueryResult.IterableQueryResult<V> extends QueryResult.EmptyQueryResult<V>
This implementation cannot be closed, ie calls to close() do nothing and calls to isClosed() always return false.
QueryResult.EmptyQueryResult<V>, QueryResult.IterableQueryResult<V>, QueryResult.SingletonQueryResult<V>
Constructor and Description |
---|
QueryResult.IterableQueryResult(java.lang.Iterable<V> values) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<V> |
iterator()
Returns an empty iterator.
|
close, isClosed
public QueryResult.IterableQueryResult(java.lang.Iterable<V> values)
public java.util.Iterator<V> iterator()
QueryResult.EmptyQueryResult
iterator
in interface java.lang.Iterable<V>
iterator
in class QueryResult.EmptyQueryResult<V>