org.opt4j.core.config
Interface Transformer<I,O>

Type Parameters:
I - the type of the source object
O - the type of the target object

public interface Transformer<I,O>

The Transformer design pattern.


Method Summary
 O transform(I in)
          The given input in is not changed by transforming it to a new object of type .
 

Method Detail

transform

O transform(I in)
The given input in is not changed by transforming it to a new object of type . Subsequent calls with equal instances of in should result in equal outputs.

Parameters:
in - the input to convert
Returns:
the corresponding output