E
- the type of the objects contained in the list to readpublic interface ListDataReader<E>
InputDataSource
and converts the read bytes into objects by
using an IterableInputConverter
.Modifier and Type | Method and Description |
---|---|
java.util.Iterator<E> |
iterator()
Returns an iterator that is able to iterate over the read objects from the list.
|
GluonObservableList<E> |
newGluonObservableList()
Provide an instance of a GluonObservableList.
|
GluonObservableList<E> newGluonObservableList()
DataProvider.retrieveList(ListDataReader)
to get a GluonObservableList that can be populated. Most implementations will just return an instance of
GluonObservableList itself. Note that it is perfectly valid to return existing instances of
GluonObservableList.java.util.Iterator<E> iterator() throws java.io.IOException
DataProvider.retrieveList(ListDataReader)
to initiate the read process. The returned
iterator will be used to populate the GluonObservableList that is returned in the newGluonObservableList()
method.java.io.IOException
- when something went wrong during the process of reading the objects