org.pfsw.bif
Interface IObjectProcessor<T>


public interface IObjectProcessor<T>

Specifies a simple interface that allows loops or recursive executions to send each object to an implementor of this interface. Additionally it can control whether or not execution must be terminated.


Method Summary
 boolean processObject(T object)
          Process the given object and return true if processing should be continued, otherwise false.
 

Method Detail

processObject

boolean processObject(T object)
Process the given object and return true if processing should be continued, otherwise false.

Parameters:
object - The object to be processed (null must be handled)
Returns:
true to continue the processing, false to stop the processing