Interface ThrowingFunction0<R>

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    CheckedFunction0, Functions0.ThrowingFunction0Adapter
    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 ThrowingFunction0<R>
    extends java.io.Serializable
    A functional interface that can be represented by a Lambda that can throw a CheckedException.
    • Method Detail

      • safeValue

        R safeValue()
             throws java.lang.Exception
        Throws:
        java.lang.Exception