public interface PropertySourceIterable extends Iterable<PropertySource<?>>
PropertySource objects.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsPropertySource(String name)
Whether a property source with the given name is contained.
|
Optional<PropertySource<?>> |
getPropertySource(String name)
Find the property source with the given name,
Optional.empty() if not found. |
default Stream<PropertySource<?>> |
stream() |
forEach, iterator, spliteratordefault Stream<PropertySource<?>> stream()
boolean containsPropertySource(String name)
name - the name of the property source to findOptional<PropertySource<?>> getPropertySource(String name)
Optional.empty() if not found.name - the name of the property source to findCopyright © 2021. All rights reserved.