Interface ValueProvider

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 ValueProvider
A value provider to retrieve bindable values by their parameter index.
Since:
2.2
Author:
Christoph Strobl
  • Method Summary

    Modifier and Type
    Method
    Description
    getBindableValue(int index)
     
  • Method Details

    • getBindableValue

      @Nullable Object getBindableValue(int index)
      Parameters:
      index - parameter index to use.
      Returns:
      can be null.
      Throws:
      RuntimeException - if the requested element does not exist.