Interface RefToVoidFunction<I>

Type Parameters:
I - The input type.
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 interface RefToVoidFunction<I>
A function that accepts an Object and returns nothing.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(I e)
    Applies the function.
  • Method Details

    • apply

      void apply(I e)
      Applies the function.
      Parameters:
      e - The argument.