接口 PropertyProvider

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface PropertyProvider
Strategy for providing named properties — for example, for looking up key-value pairs in a generic fashion.

Primarily intended for use within the framework.

从以下版本开始:
4.0
作者:
Sam Brannen
  • 方法概要

    修饰符和类型
    方法
    说明
    get(String name)
    Get the value of the named property.
  • 方法详细资料

    • get

      @Nullable String get(String name)
      Get the value of the named property.
      参数:
      name - the name of the property to retrieve
      返回:
      the value of the property or null if not found