public final class ExceptionTransformer<I,O> extends java.lang.Object implements Transformer<I,O>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static Transformer |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
static <I,O> Transformer<I,O> |
exceptionTransformer()
Factory returning the singleton instance.
|
O |
transform(I input)
Transforms the input to result by cloning it.
|
public static final Transformer INSTANCE
public static <I,O> Transformer<I,O> exceptionTransformer()
I
- the input typeO
- the output typepublic O transform(I input)
transform
in interface Transformer<I,O>
input
- the input object to transformFunctorException
- alwaysCopyright © 2010 - 2020 Adobe. All Rights Reserved