Interface ParameterizedSupplier<T>

Type Parameters:
T - the type of the input to the supplier and the result
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 ParameterizedSupplier<T>
A functional interface representing a supplier that accepts a parameter and returns a result.
  • Method Summary

    Modifier and Type
    Method
    Description
    accept(T value)
    Applies this supplier to the given argument.
  • Method Details

    • accept

      T accept(T value)
      Applies this supplier to the given argument.
      Parameters:
      value - the input argument
      Returns:
      the supplier result