Interface SupplierEx<T>

Type Parameters:
T - the type of results supplied by this supplier
All Superinterfaces:
Serializable, 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 SupplierEx<T>
extends Supplier<T>, Serializable
Serializable variant of java.util.function.Supplier which declares checked exception.
Since:
4.0
  • Method Summary

    Modifier and Type Method Description
    default T get()  
    T getEx()
    Exception-declaring version of Supplier.get().