Interface MultiItem<T>


public interface MultiItem<T>
Abstraction for multiple items.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Called repeatedly to get the items to add to the queue.
  • Method Details

    • nextItem

      T nextItem() throws Exception
      Called repeatedly to get the items to add to the queue. This method should return null when there are no more items to add.
      Returns:
      item or null
      Throws:
      Exception - any errors