Uses of Interface
org.jjoost.collections.iters.ClosableIterator

Packages that use ClosableIterator
org.jjoost.collections.iters   
org.jjoost.util   
 

Uses of ClosableIterator in org.jjoost.collections.iters
 

Classes in org.jjoost.collections.iters that implement ClosableIterator
 class ClosableIteratorWrapper<E>
           
 class FilteredClosableIterator<E>
           
 class HeadClosableIterator<E>
           
 class MappedClosableIterator<X,Y>
          Given an Iterator object and a function, yields an Iterator representing the result of applying that function to every element of the supplied Iterator
 

Methods in org.jjoost.collections.iters that return ClosableIterator
 ClosableIterator<E> ClosableIterable.iterator()
           
 

Methods in org.jjoost.collections.iters with parameters of type ClosableIterator
static
<E> FilteredClosableIterator<E>
FilteredClosableIterator.get(ClosableIterator<? extends E> base, Filter<? super E> filter)
           
 

Constructors in org.jjoost.collections.iters with parameters of type ClosableIterator
FilteredClosableIterator(ClosableIterator<? extends E> base, Filter<? super E> filter)
           
HeadClosableIterator(ClosableIterator<E> iterator, int count)
           
MappedClosableIterator(ClosableIterator<? extends X> base, Function<? super X,? extends Y> function)
           
 

Uses of ClosableIterator in org.jjoost.util
 

Methods in org.jjoost.util that return ClosableIterator
static
<E,F> ClosableIterator<F>
Functions.apply(ClosableIterator<? extends E> iter, Function<? super E,? extends F> f)
          /** Returns a new iterator which returns f.f(iter.next()) for each call to next() in the resulting iterator.
static
<E,F> ClosableIterator<F>
Functions.apply(Function<? super E,? extends F> f, ClosableIterator<? extends E> iter)
          Returns a new iterator which returns f.f(iter.next()) for each call to next() in the resulting iterator.
static
<E> ClosableIterator<E>
Iters.drop(ClosableIterator<E> iter, int count)
          Consumes the first count elements of the supplied Iterator (or all of them if there are fewer), and returns its argument
static
<E> ClosableIterator<E>
Iters.drop(int count, ClosableIterator<E> iter)
          Consumes the first count elements of the supplied Iterator (or all of them if there are fewer), and returns its argument
static ClosableIterator<java.lang.String> Iters.toStrings(ClosableIterator<?> iter, boolean replaceNulls)
          Lazily convert the provided Iterator into an Iterator of type String, by calling the toString() method on each item.
 

Methods in org.jjoost.util with parameters of type ClosableIterator
static
<E,F> ClosableIterator<F>
Functions.apply(ClosableIterator<? extends E> iter, Function<? super E,? extends F> f)
          /** Returns a new iterator which returns f.f(iter.next()) for each call to next() in the resulting iterator.
static
<E> FilteredClosableIterator<E>
Filters.apply(ClosableIterator<E> iter, Filter<? super E> filter)
          Returns a ClosableIterator wrapping the one provided and lazily filtering its contents by the provided filter
static
<E> FilteredClosableIterator<E>
Filters.apply(Filter<? super E> filter, ClosableIterator<E> iter)
          Returns an ClosableIterator wrapping the one provided and lazily filtering its contents by the provided filter.
static
<E,F> ClosableIterator<F>
Functions.apply(Function<? super E,? extends F> f, ClosableIterator<? extends E> iter)
          Returns a new iterator which returns f.f(iter.next()) for each call to next() in the resulting iterator.
static
<E> ClosableIterator<E>
Iters.drop(ClosableIterator<E> iter, int count)
          Consumes the first count elements of the supplied Iterator (or all of them if there are fewer), and returns its argument
static
<E> ClosableIterator<E>
Iters.drop(int count, ClosableIterator<E> iter)
          Consumes the first count elements of the supplied Iterator (or all of them if there are fewer), and returns its argument
static
<E> HeadClosableIterator<E>
Iters.head(ClosableIterator<E> iter, int count)
          Returns a new Iterator that returns the first count elements of the supplied Iterator (or all of them if that is fewer)
static
<E> HeadClosableIterator<E>
Iters.head(int count, ClosableIterator<E> iter)
          Returns a new Iterator that returns the first count elements of the supplied Iterator (or all of them if that is fewer)
static ClosableIterator<java.lang.String> Iters.toStrings(ClosableIterator<?> iter, boolean replaceNulls)
          Lazily convert the provided Iterator into an Iterator of type String, by calling the toString() method on each item.