Interface Try.CheckedSupplier<T>

  • Type Parameters:
    T - the type of the supplier's return value
    Enclosing class:
    Try
    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 static interface Try.CheckedSupplier<T>
    A checked supplier functional interface
    Author:
    Brian Wyka
    • Method Detail

      • get

        T get()
        throws Throwable
        Get the result
        Returns:
        the result
        Throws:
        Throwable - if any exception / error occurs