public interface CloseableIterable<T>
extends java.lang.Iterable<T>, java.io.Closeable
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
CloseableIterable.ConcatCloseableIterable<E>  | 
| Modifier and Type | Method and Description | 
|---|---|
static <E> CloseableIterable<E> | 
combine(java.lang.Iterable<E> iterable,
       java.io.Closeable closeable)  | 
static <E> CloseableIterable<E> | 
concat(java.lang.Iterable<CloseableIterable<E>> iterable)  | 
static <E> CloseableIterable<E> | 
empty()  | 
static <E> CloseableIterable<E> | 
filter(CloseableIterable<E> iterable,
      java.util.function.Predicate<E> pred)  | 
CloseableIterator<T> | 
iterator()
Returns an closeable iterator over elements of type  
T. | 
static <I,O> CloseableIterable<O> | 
transform(CloseableIterable<I> iterable,
         java.util.function.Function<I,O> transform)  | 
static <E> CloseableIterable<E> | 
withNoopClose(E entry)  | 
static <E> CloseableIterable<E> | 
withNoopClose(java.lang.Iterable<E> iterable)  | 
CloseableIterator<T> iterator()
T.iterator in interface java.lang.Iterable<T>CloseableIterator.static <E> CloseableIterable<E> withNoopClose(E entry)
static <E> CloseableIterable<E> withNoopClose(java.lang.Iterable<E> iterable)
static <E> CloseableIterable<E> empty()
static <E> CloseableIterable<E> combine(java.lang.Iterable<E> iterable, java.io.Closeable closeable)
static <E> CloseableIterable<E> filter(CloseableIterable<E> iterable, java.util.function.Predicate<E> pred)
static <I,O> CloseableIterable<O> transform(CloseableIterable<I> iterable, java.util.function.Function<I,O> transform)
static <E> CloseableIterable<E> concat(java.lang.Iterable<CloseableIterable<E>> iterable)