public final class IsNaN extends TypeSafeMatcher<Double>
Modifier and Type | Method and Description |
---|---|
void |
describeMismatchSafely(Double item,
Description mismatchDescription)
Subclasses should override this.
|
void |
describeTo(Description description)
Generates a description of the object.
|
boolean |
matchesSafely(Double item)
Subclasses should implement this.
|
static Matcher<Double> |
notANumber()
Creates a matcher of
Double s that matches when an examined double is not a number. |
describeMismatch, matches
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
public boolean matchesSafely(Double item)
TypeSafeMatcher
matchesSafely
in class TypeSafeMatcher<Double>
public void describeMismatchSafely(Double item, Description mismatchDescription)
TypeSafeMatcher
describeMismatchSafely
in class TypeSafeMatcher<Double>
public void describeTo(Description description)
SelfDescribing
description
- The description to be built or appended to.Copyright © 2021. All rights reserved.