public class ListItemReader<T> extends Object implements ItemReader<T>
ItemReader
that pulls data from a list. Useful for testing.Constructor and Description |
---|
ListItemReader(List<T> list) |
public T read()
ItemReader
null
at the end of the input
data set. In a transactional setting, caller might get the same item
twice from successive calls (or otherwise), if the first call was in a
transaction that rolled back.read
in interface ItemReader<T>
Copyright © 2014 Pivotal. All rights reserved.