Interface Effect

All Superinterfaces:
Serializable

public interface Effect extends Serializable
An executable piece of code that takes no parameters and doesn't return any 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.Effect counterpart does not.
  • Method Summary

    Modifier and Type
    Method
    Description
    void