Interface VoidFunction<I>

Type Parameters:
I - the type of the input of the function
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Represents a void function that accepts a single arguments.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(I in)
    Applies this function to the given argument.
  • Method Details

    • apply

      void apply(I in) throws Exception
      Applies this function to the given argument.
      Parameters:
      in - the function argument
      Throws:
      Exception