Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

dk.rode.thesis.iterator
Interface ValueProcessor<E>

Type Parameters:
E - The type of values processed by this processor.
All Known Implementing Classes:
LoggingValueProcessor

public interface ValueProcessor<E>

A value processor is used by a processable sequence to process values during processing.

Author:
Gunni Rode / rode.dk

Method Summary
 void initialise()
          Prepares this processor before processing.
 boolean process(E value)
          Process a given value and returns false if the processing is done, true if it must continue.
 

Method Detail

initialise

void initialise()
Prepares this processor before processing.


process

boolean process(E value)
Process a given value and returns false if the processing is done, true if it must continue.

Parameters:
value - The value to process; never null.
Returns:
False to stop processing, true to continue.
See Also:
ProcessableSequence.process(ValueProcessor)

Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.