|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.collections.functors.ExceptionTransformer<I,O>
public final class ExceptionTransformer<I,O>
Transformer implementation that always throws an exception.
Field Summary | |
---|---|
static Transformer |
INSTANCE
Singleton predicate instance |
Method Summary | |
---|---|
static Transformer |
getInstance()
Factory returning the singleton instance. |
O |
transform(I input)
Transforms the input to result by cloning it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Transformer INSTANCE
Method Detail |
---|
public static Transformer getInstance()
public O transform(I input)
transform
in interface Transformer<I,O>
input
- the input object to transform
FunctorException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |