org.apache.commons.collections.functors
public final class StringValueTransformer extends Object implements Transformer, Serializable
String.valueOf
on the input object.
Since: Commons Collections 3.0
Version: $Revision: 405927 $ $Date: 2006-05-12 23:57:03 +0100 (Fri, 12 May 2006) $
Field Summary | |
---|---|
static Transformer | INSTANCE Singleton predicate instance |
Method Summary | |
---|---|
static Transformer | getInstance()
Factory returning the singleton instance.
|
Object | transform(Object input)
Transforms the input to result by calling String.valueOf .
|
Returns: the singleton instance
Since: Commons Collections 3.1
String.valueOf
.
Parameters: input the input object to transform
Returns: the transformed result