public interface IterableConfigurationPropertySource extends ConfigurationPropertySource, IterableSE<ConfigurationPropertyName>
Iterable
SE エントリのセットを持つ ConfigurationPropertySource
。このインターフェースの実装は、含まれているすべての構成プロパティを反復処理できる必要があります。ConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName)
からの non-null
結果には、iterator
にも同等のエントリが必要です。ConfigurationPropertyName
, OriginTrackedValue
, ConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName)
, iterator()
, stream()
修飾子と型 | メソッドと説明 |
---|---|
default ConfigurationPropertyState | containsDescendantOf(ConfigurationPropertyName name) ソースに指定された名前の子孫が含まれているかどうかを返します。 |
default IterableConfigurationPropertySource | filter(PredicateSE<ConfigurationPropertyName> filter) 指定された Predicate SE に一致する名前のみを含む、このソースのフィルター処理されたバリアントを返します。 |
default IteratorSE<ConfigurationPropertyName> | iterator() このソースが管理する names のイテレータを返します。 |
StreamSE<ConfigurationPropertyName> | stream() このソースが管理する names の順次 Stream を返します。 |
default IterableConfigurationPropertySource | withAliases(ConfigurationPropertyNameAliases aliases) 名前エイリアスをサポートするこのソースのバリアントを返します。 |
default IterableConfigurationPropertySource | withPrefix(StringSE prefix) プレフィックスをサポートするこのソースのバリアントを返します。 |
from, getConfigurationProperty, getUnderlyingSource
forEachSE, spliteratorSE
default IteratorSE<ConfigurationPropertyName> iterator()
names
のイテレータを返します。IterableSE<ConfigurationPropertyName>
の iteratorSE
null
)StreamSE<ConfigurationPropertyName> stream()
names
の順次 Stream
を返します。null
)default ConfigurationPropertyState containsDescendantOf(ConfigurationPropertyName name)
ConfigurationPropertySource
ConfigurationPropertyState.PRESENT
または ConfigurationPropertyState.ABSENT
を、最終的な回答を決定できない場合は ConfigurationPropertyState.UNKNOWN
を返す場合があります。ConfigurationPropertySource
の containsDescendantOf
name
- チェックする名前 default IterableConfigurationPropertySource filter(PredicateSE<ConfigurationPropertyName> filter)
ConfigurationPropertySource
Predicate
SE に一致する名前のみを含む、このソースのフィルター処理されたバリアントを返します。ConfigurationPropertySource
の filter
filter
- 一致するフィルター ConfigurationPropertySource
インスタンス default IterableConfigurationPropertySource withAliases(ConfigurationPropertyNameAliases aliases)
ConfigurationPropertySource
ConfigurationPropertySource
の withAliases
aliases
- 任意の名前のエイリアスのストリームを返す関数 ConfigurationPropertySource
インスタンス default IterableConfigurationPropertySource withPrefix(StringSE prefix)
ConfigurationPropertySource
ConfigurationPropertySource
の withPrefix
prefix
- ソース内のプロパティのプレフィックス ConfigurationPropertySource
インスタンス