Interface StateGuard.GuardedSupplier<T,​E extends Exception>

  • Type Parameters:
    T - Result type.
    E - Error type.
    Enclosing class:
    StateGuard
    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 StateGuard.GuardedSupplier<T,​E extends Exception>
    Guarded supplier.
    • Method Detail

      • get

        T get()
        throws E extends Exception
        Returns a value.
        Returns:
        Value.
        Throws:
        E - Error.
        E extends Exception