public class ListReader<T> extends AbstractReader<T>
| Constructor and Description |
|---|
ListReader() |
ListReader(List<T> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader and all resources associated with it.
|
Iterator<T> |
iterator()
Return a new iterator for type T at the first item to read.
|
void |
open()
Open the reader so that it is ready to be read from.
|
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, setPropertyWeakpublic void close()
Readerclose in interface Reader<T>close in interface AutoCloseableclose in class AbstractObjectWithPropertiespublic Iterator<T> iterator()
Readerpublic void open()
ReaderCopyright © 2015 Revolution Systems Inc.. All rights reserved.