org.littleshoot.util
Interface Transformer<T1,T2>

Type Parameters:
T1 - The type expected by this transformer.
T2 - The type returned by this transformer.

public interface Transformer<T1,T2>

An interface to an object that can transform one object into another.


Method Summary
 T2 transform(T1 object)
          Transforms one object into another object.
 

Method Detail

transform

T2 transform(T1 object)
Transforms one object into another object.

Parameters:
object - The object to transform.
Returns:
The result of the transformation.


Copyright © 2011-2013 LittleShoot. All Rights Reserved.