DC
- The class that declares the wrapped methodR
- The return type of the wrapped methodP1
- The type of first parameter of the wrapped methodP2
- The type of second parameter of the wrapped methodEX
- The exception that the method may throw (use RuntimeException
iff the method does not
declare any checked exceptions)public static interface OptionalMethods.MethodWrapper2<DC,R,P1,P2,EX extends Throwable>
Modifier and Type | Method and Description |
---|---|
R |
invoke(DC target,
P1 parameter1,
P2 parameter2)
Invokes the wrapped method, or, iff that method does not exist, takes an alternate action.
|
boolean |
isAvailable() |
Copyright © 2018 Arno Unkrig. All rights reserved.