Interface SQLSupplier<T>

Type Parameters:
T - the type of the object supplied
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 SQLSupplier<T>
A useful functional interface whose implementations can perform work that may throw a SQLException.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Performs work and returns the result.
  • Method Details

    • get

      T get() throws SQLException
      Performs work and returns the result.
      Returns:
      the result of the work
      Throws:
      SQLException - if a database access error occurs