java.io.Serializable
, Transformer<T,T>
public class NOPTransformer<T> extends java.lang.Object implements Transformer<T,T>, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
static Transformer |
INSTANCE |
Singleton predicate instance
|
Modifier and Type | Method | 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 - Apache Software Foundation