Interface VoidConsumer

  • All Superinterfaces:
    java.io.Serializable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Stable
    @FunctionalInterface
    public interface VoidConsumer
    extends java.io.Serializable
    A function of zero arguments returning void.
    • Method Detail

      • apply

        void apply()
        Call the function.