Interface CheckedSupplier<T,​E extends java.lang.Exception>

  • All Superinterfaces:
    java.util.function.Supplier<T>
    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 CheckedSupplier<T,​E extends java.lang.Exception>
    extends java.util.function.Supplier<T>
    • Method Detail

      • get

        default T get()
        Specified by:
        get in interface java.util.function.Supplier<T>
      • checkedGet

        T checkedGet()
              throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception