Interface ItemProcessor<T>

  • public interface ItemProcessor<T>
    An implementation of this class can be used for processing big collections (e.g. SQL query results) when all the items cannot fit into memory.
    Sergey.Anchipolevsky Date: 02.10.2007
    • Method Detail

      • processItem

        boolean processItem​(T item)
        Processes a single item.
        item - the item to be processed. Potentially can be null if the underlying collection may have null elements.
        false if no further processing needed. This commands the collection processing algorithm to stop iterations. True otherwise.