Interface ThrowingFunction<T,​V>

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    CheckedFunction, Functions.ClassForNameFunction, Functions.ThrowingFunctionAdapter
    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 ThrowingFunction<T,​V>
    extends java.io.Serializable
    A functional interface that can be represented by a Lambda that can throw a CheckedException.
    • Method Detail

      • safeValueOf

        V safeValueOf​(T object)
               throws java.lang.Exception
        Throws:
        java.lang.Exception