org.springframework.batch.core.step.item
Class Chunk.ChunkIterator
java.lang.Object
org.springframework.batch.core.step.item.Chunk.ChunkIterator
- All Implemented Interfaces:
- Iterator<W>
- Enclosing class:
- Chunk<W>
public class Chunk.ChunkIterator
- extends Object
- implements Iterator<W>
Special iterator for a chunk providing the remove(Exception)
method for dynamically removing an item and adding it to the skips.
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chunk.ChunkIterator
public Chunk.ChunkIterator(List<W> items)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<W>
next
public W next()
- Specified by:
next
in interface Iterator<W>
remove
public void remove(Exception e)
remove
public void remove()
- Specified by:
remove
in interface Iterator<W>
Copyright © 2009 SpringSource. All Rights Reserved.