net.fortytwo.sesametools
Class CompoundCloseableIteration<T,E extends Exception>
java.lang.Object
net.fortytwo.sesametools.CompoundCloseableIteration<T,E>
- Type Parameters:
T - E -
- All Implemented Interfaces:
- info.aduna.iteration.CloseableIteration<T,E>, info.aduna.iteration.Iteration<T,E>
public class CompoundCloseableIteration<T,E extends Exception>
- extends Object
- implements info.aduna.iteration.CloseableIteration<T,E>
A CloseableIteration which wraps an ordered collection of other
CloseableIterations.
- Author:
- josh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundCloseableIteration
public CompoundCloseableIteration(Collection<info.aduna.iteration.CloseableIteration<T,E>> childIterations)
close
public void close()
throws E extends Exception
- Specified by:
close in interface info.aduna.iteration.CloseableIteration<T,E extends Exception>
- Throws:
E extends Exception
hasNext
public boolean hasNext()
throws E extends Exception
- Specified by:
hasNext in interface info.aduna.iteration.Iteration<T,E extends Exception>
- Throws:
E extends Exception
next
public T next()
throws E extends Exception
- Specified by:
next in interface info.aduna.iteration.Iteration<T,E extends Exception>
- Throws:
E extends Exception
remove
public void remove()
throws E extends Exception
- Specified by:
remove in interface info.aduna.iteration.Iteration<T,E extends Exception>
- Throws:
E extends Exception
Copyright © 2013. All Rights Reserved.