Interface Procedure2<T1,T2>

All Superinterfaces:
Serializable

public interface Procedure2<T1,T2> extends Serializable
A Consumer interface. Used to create 2-arg consumers in Java. 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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(T1 arg1, T2 arg2)