org.apache.commons.collections.functors
Class StringValueTransformer
- Serializable, Transformer
public final class StringValueTransformer
Transformer implementation that returns the String.valueOf.
Version:
- Stephen Colebourne
- Commons Collections 3.0
static Transformer | getInstance()- Factory returning the singleton instance.
|
Object | transform(Object input)- Transforms the input to result by calling
String.valueOf.
|
INSTANCE
public static final Transformer INSTANCE
Singleton predicate instance
getInstance
public static Transformer getInstance()
Factory returning the singleton instance.
- the singleton instance
- Commons Collections 3.1
transform
public Object transform(Object input)
Transforms the input to result by calling String.valueOf.
- transform in interface Transformer
input - the input object to transform
- the transformed result
Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.