Interface HandleUtil.MethodHandleVoidInvoker

Enclosing class:
HandleUtil

public static interface HandleUtil.MethodHandleVoidInvoker
Represents the invocation to be carried out on the method handle.

This is effectively a Runnable, except it can throw.

This is a FunctionalInterface whose functional method is invoke().

Since:
9.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes the method handle.
  • Method Details

    • invoke

      void invoke() throws Throwable
      Executes the method handle.
      Throws:
      Throwable - If an exception is thrown during invocation.
      Since:
      9.0.0