public class NOPTransformer<T> extends java.lang.Object implements Transformer<T,T>, java.io.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 © 2010 - 2020 Adobe. All Rights Reserved