Interface Procedure<T>

  • All Superinterfaces:
    Consumer<T>, Serializable
    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 Procedure<T>
    extends Consumer<T>, Serializable
    A Procedure is a single argument lambda which has no return argument.
    • Method Detail

      • value

        void value​(T each)
      • accept

        default void accept​(T each)
        Specified by:
        accept in interface Consumer<T>