public static class MapEntryMatcher.Supplier<K,V> extends Object implements Function<Map.Entry<K,V>,Matcher<Map.Entry<K,V>>>
MapEntryMatcher
matcher for a specified source entry.Constructor and Description |
---|
Supplier(Function<K,Matcher<K>> keyMatcherSupplier,
Function<V,Matcher<V>> valueMatcherSupplier)
Creates a new Supplier that supplies a
MapEntryMatcher using
the given key and value Matcher suppliers. |
Supplier(Function<V,Matcher<V>> valueMatcherSupplier)
Creates a new Supplier that supplies a
MapEntryMatcher using
the given value Matcher supplier. |
Modifier and Type | Method and Description |
---|---|
Matcher<Map.Entry<K,V>> |
apply(Map.Entry<K,V> source)
Returns the
MapEntryMatcher supplied for the given source Map. |
public Supplier(Function<V,Matcher<V>> valueMatcherSupplier)
MapEntryMatcher
using
the given value Matcher supplier.Copyright © 2022 The Cornutum Project. All rights reserved.