Interface Provider<T>

Type Parameters:
T - The provided type.
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 Provider<T>
Lightweight provider interface equivalent to JSR-330 provider contracts.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Returns the value.
  • Method Details

    • get

      T get()
      Returns the value.
      Returns:
      The value.