Interface CheckedSupplier<T>

All Superinterfaces:
Supplier<T>

public interface CheckedSupplier<T> extends Supplier<T>
an extension of Supplier which wraps all exceptions in runtime exceptions so that expressions throwing checked exceptions can be nicely used in the Stream API
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default T
    get()