public final class StringValueTransformer<T> extends Object implements Transformer<T,String>, Serializable
String.valueOf
on the input object.Modifier and Type | Method and Description |
---|---|
static <T> Transformer<T,String> |
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 typeCopyright © 2001–2018 The Apache Software Foundation. All rights reserved.