public final class StringValueTransformer<T> extends Objectimplements Transformer <T ,String >, Serializable
String.valueOf on the input object.
| Modifier and Type | Method and Description |
|---|---|
static <T> Transformer |
stringValueTransformer()
Factory returning the singleton instance.
|
String |
transform(T input)
Transforms the input to result by calling
String.valueOf.
|
public static <T> Transformer<T ,String > stringValueTransformer()
T - the input type