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

@FunctionalInterface public interface Environment
Provides access to environment variable values.
从以下版本开始:
2.3.0
作者:
Scott Frederick, Phillip Webb
  • 字段详细资料

  • 方法详细资料

    • get

      String get(String name)
      Gets the value of the specified environment variable.
      参数:
      name - the name of the environment variable
      返回:
      the string value of the variable, or null if the variable is not defined in the environment