public abstract class AbstractMultipleIteratorReader<T> extends AbstractReader<T> implements Iterator<T>
| Constructor and Description |
|---|
AbstractMultipleIteratorReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader and all resources associated with it.
|
protected abstract AbstractIterator<T> |
getNextIterator() |
boolean |
hasNext() |
Iterator<T> |
iterator()
Return a new iterator for type T at the first item to read.
|
T |
next() |
void |
open()
Open the reader so that it is ready to be read from.
|
protected void |
process(T object) |
void |
remove() |
read, visitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeak@PreDestroy public void close()
Readerclose in interface Reader<T>close in interface AutoCloseableclose in class AbstractObjectWithPropertiesprotected abstract AbstractIterator<T> getNextIterator()
public Iterator<T> iterator()
Readerpublic void open()
Readerprotected void process(T object)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.