Interface GenericRunnable.A3<A,B,C>

Type Parameters:
A - The type of the first argument
B - The type of the second argument
C - 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.

@FunctionalInterface public static interface GenericRunnable.A3<A,B,C> extends GenericRunnable
A GenericRunnable with 3 arguments.
Since:
2.10
  • Method Details

    • run

      void run(A arg0, B arg1, C arg2) throws Exception
      Runs this A3 with the given arguments.
      Parameters:
      arg0 - The first argument
      arg1 - The second argument
      arg2 - The third argument
      Throws:
      Exception
    • run

      default void run(Object... args) throws Exception
      Description copied from interface: GenericRunnable
      Runs this GenericRunnable.
      Specified by:
      run in interface GenericRunnable
      Parameters:
      args - The arguments
      Throws:
      Exception - Any exception thrown by the runnable
    • getArgumentCount

      default int getArgumentCount()
      Description copied from interface: GenericRunnable
      Returns the number of arguments this GenericRunnable accepts.
      Specified by:
      getArgumentCount in interface GenericRunnable
      Returns:
      The number of arguments