Interface Procedure<T>

All Superinterfaces:
Serializable

public interface Procedure<T> extends Serializable
A Procedure is like a Function, but it doesn't produce a return value. Serializable is needed to be able to grab line number for Java 8 lambdas. Supports throwing Exception in the apply, which the java.util.function.Consumer counterpart does not.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(T param)