Class StringValueTransformer<T>
- java.lang.Object
-
- org.apache.commons.collections4.functors.StringValueTransformer<T>
-
- All Implemented Interfaces:
Serializable,Transformer<T,String>
public final class StringValueTransformer<T> extends Object implements Transformer<T,String>, Serializable
Transformer implementation that returns the result of callingString.valueOfon the input object.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Transformer<T,String>stringValueTransformer()Factory returning the singleton instance.Stringtransform(T input)Transforms the input to result by callingString.valueOf.
-
-
-
Method Detail
-
stringValueTransformer
public static <T> Transformer<T,String> stringValueTransformer()
Factory returning the singleton instance.- Type Parameters:
T- the input type- Returns:
- the singleton instance
- Since:
- 3.1
-
-