public static class ContainsElements.Supplier<T> extends Object implements Function<T[],Matcher<T[]>>
ContainsElements
matcher for a specified source array.Constructor and Description |
---|
Supplier(Function<T,Matcher<T>> elementMatcherSupplier)
Creates a new ContainsElementsSupplier that supplies a
ContainsElements matcher using
the given element Matcher supplier. |
Modifier and Type | Method and Description |
---|---|
Matcher<T[]> |
apply(T[] source)
Returns the
ContainsElements matcher supplied for the given source array. |
public Supplier(Function<T,Matcher<T>> elementMatcherSupplier)
ContainsElements
matcher using
the given element Matcher supplier.Copyright © 2022 The Cornutum Project. All rights reserved.