S1 - The type of the element to be transformedS2 - The type that an element will be transformed intopublic abstract class Transformer<S1,S2>
extends java.lang.Object
| Constructor and Description |
|---|
Transformer() |
| Modifier and Type | Method and Description |
|---|---|
abstract S2 |
transform(S1 from)
Returns an object of class <S2> that is in some sense equivalent to the given from object
|
public abstract S2 transform(S1 from)
from - an object for which an equivalent object of another class is to be returned