DC - The class that declares the wrapped methodR - The return type of the wrapped methodP - The type of the single 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.MethodWrapper1<DC,R,P,EX extends Throwable>
| Modifier and Type | Method and Description |
|---|---|
R |
invoke(DC target,
P parameter)
Invokes the wrapped method, or, iff that method does not exist, takes an alternate action.
|
boolean |
isAvailable() |
Copyright © 2018 Arno Unkrig. All rights reserved.