Interface MultiItem<T>
-
public interface MultiItem<T>Abstraction for multiple items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TnextItem()Called repeatedly to get the items to add to the queue.
-
-
-
Method Detail
-
nextItem
T nextItem() throws java.lang.Exception
Called repeatedly to get the items to add to the queue. This method should returnnullwhen there are no more items to add.- Returns:
- item or null
- Throws:
java.lang.Exception- any errors
-
-