throwIfMultipleMatchingValuesIn

open fun <V> throwIfMultipleMatchingValuesIn(entries: Consumer<Map<String, V>>, predicate: Predicate<V>)

Throw a new MutuallyExclusiveConfigurationPropertiesException if multiple values are defined in a set of entries that match the given predicate.

Since

3.3.7

Parameters

<V>

the value type

entries

a consumer used to populate the entries to check

predicate

the predicate used to check for matching values