Interface GenericRunnable.A3<A,B,C>
- Type Parameters:
A- The type of the first argumentB- The type of the second argumentC- The type of the third argument
- All Superinterfaces:
GenericRunnable
- Enclosing interface:
GenericRunnable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
GenericRunnable with 3 arguments.- Since:
- 2.10
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.omegazero.common.event.runnable.GenericRunnable
GenericRunnable.A0, GenericRunnable.A1<A>, GenericRunnable.A2<A,B>, GenericRunnable.A3<A, B, C>, GenericRunnable.A4<A, B, C, D> -
Method Summary
Methods inherited from interface org.omegazero.common.event.runnable.GenericRunnable
checkArgc
-
Method Details
-
run
Runs thisA3with the given arguments.- Parameters:
arg0- The first argumentarg1- The second argumentarg2- The third argument- Throws:
Exception
-
run
Description copied from interface:GenericRunnableRuns thisGenericRunnable.- Specified by:
runin interfaceGenericRunnable- Parameters:
args- The arguments- Throws:
Exception- Any exception thrown by the runnable
-
getArgumentCount
default int getArgumentCount()Description copied from interface:GenericRunnableReturns the number of arguments thisGenericRunnableaccepts.- Specified by:
getArgumentCountin interfaceGenericRunnable- Returns:
- The number of arguments
-