org.springframework.core.env

## 接口 PropertySources

- 所有超级接口:
    Iterable<PropertySource<?>>
  所有已知实现类:
    MutablePropertySources

      public interface PropertySources
      extends Iterable<PropertySource<?>>

  Holder containing one or more `PropertySource` objects.
  从以下版本开始:
    3.1
  作者:
    Chris Beams
  另请参阅:
    `PropertySource`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `contains(String name)` Return whether a property source with the given name is contained.
    `PropertySource<?>` | `get(String name)` Return the property source with the given name, `null` if not found.

    - ### 从接口继承的方法 java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### 方法详细资料

    - #### contains

          boolean contains(String name)

      Return whether a property source with the given name is contained.
      参数:
        `name` - the name of the property source to find

    - #### get

          @Nullable
          PropertySource<?> get(String name)

      Return the property source with the given name, `null` if not found.
      参数:
        `name` - the name of the property source to find