org.apache.commons.collections.functors
Class StringValueTransformer
java.lang.Object
org.apache.commons.collections.functors.StringValueTransformer
- Serializable, Transformer
public final class StringValueTransformer
extends java.lang.Object
Transformer implementation that returns the String.valueOf
.
$Revision: 1.7 $ $Date: 2004/05/16 11:36:31 $
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.
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
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.