| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
iterator()
Returns an iterator that wraps the row iterator from the data container
|
List<T> |
map()
Maps the dataContainer to a list
|
static <T> List<T> |
map(DataContainer<? extends Header,? extends Row> reader,
Class<T> cl)
Maps a
DataContainer to a list
The specified type of entities in the list must have MappedColumn annotated fields. |
static <T> Iterator<T> |
mapEach(DataContainer<? extends Header,? extends Row> reader,
Class<T> cl)
Returns an iterator over mapped entities from the data container
The specified type of entities must have
MappedColumn annotated fields. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static <T> List<T> map(DataContainer<? extends Header,? extends Row> reader, Class<T> cl)
DataContainer to a list
The specified type of entities in the list must have MappedColumn annotated fields.T - type if mapped entitiesreader - the data containercl - class of mapped entitiespublic static <T> Iterator<T> mapEach(DataContainer<? extends Header,? extends Row> reader, Class<T> cl)
MappedColumn annotated fields.T - type if mapped entitiesreader - the data containercl - class of mapped entitiesCopyright © 2017. All rights reserved.