net.sf.staccatocommons.lang.function
Class AbstractFunction2.Soft<A,B,C>
java.lang.Object
net.sf.staccatocommons.lang.function.AbstractDelayable2<A,B,C>
net.sf.staccatocommons.lang.function.AbstractFunction2<A,B,C>
net.sf.staccatocommons.lang.function.AbstractFunction2.Soft<A,B,C>
- Type Parameters:
A - function first argument typeB - function second argument typeC - function return type
- All Implemented Interfaces:
- Applicable<A,Function<B,C>>, Applicable2<A,B,C>, Delayable2<A,B,C>, Function2<A,B,C>, NullSafeAware<Function2<A,B,C>>
- Enclosing class:
- AbstractFunction2<A,B,C>
public abstract static class AbstractFunction2.Soft<A,B,C>
- extends AbstractFunction2<A,B,C>
AbstractFunction2 that handles exceptions by softening them using
SoftException.soften(Throwable)
- Author:
- flbulgarelli
|
Method Summary |
C |
apply(A arg0,
B arg1)
|
protected abstract C |
softApply(A arg0,
B arg1)
Applies this function, potentially throwing a checked exception |
AbstractFunction2.Soft
public AbstractFunction2.Soft()
apply
public final C apply(A arg0,
B arg1)
softApply
protected abstract C softApply(A arg0,
B arg1)
throws Throwable
- Applies this function, potentially throwing a checked exception
- Throws:
Throwable- See Also:
Function2.apply(Object, Object)