public class EqualsResultMatcher<U>
extends org.hamcrest.DiagnosingMatcher<U>
Supplier
SE でラップされた、関数の呼び出し結果に対して評価するマッチャーゴールは、マッチャーを実際に評価する必要があるまで計算を延期することです。主に EventuallyMatcher
などのマッチャーの再試行と組み合わせて役立ちます コンストラクターと説明 |
---|
EqualsResultMatcher(java.util.function.SupplierSE<U> supplier) |
修飾子と型 | メソッドと説明 |
---|---|
void | describeTo(org.hamcrest.Description description) |
static <U> EqualsResultMatcher<U> | equalsResult(java.util.function.SupplierSE<U> supplier) |
protected boolean | matches(ObjectSE item, org.hamcrest.Description mismatchDescription) |
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public EqualsResultMatcher(java.util.function.SupplierSE<U> supplier)
protected boolean matches(ObjectSE item, org.hamcrest.Description mismatchDescription)
org.hamcrest.DiagnosingMatcher<U>
の matches
public void describeTo(org.hamcrest.Description description)
public static <U> EqualsResultMatcher<U> equalsResult(java.util.function.SupplierSE<U> supplier)