public class NOPTransformer<T> extends Object implements Transformer<T,T>, Serializable
Modifier and Type | Field and Description |
---|---|
static Transformer |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
static <T> Transformer<T,T> |
nopTransformer()
Factory returning the singleton instance.
|
T |
transform(T input)
Transforms the input to result by doing nothing.
|
public static final Transformer INSTANCE
public static <T> Transformer<T,T> nopTransformer()
T
- the input/output typeCopyright © 2001–2019 The Apache Software Foundation. All rights reserved.