org.pf.bif.callback
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.
- Version:
- 2.0
- Author:
- M.Duchrow
Method Summary |
boolean |
processObject(T object)
Process the given object and return true if processing should be continued,
otherwise false. |
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
Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.