T
- 比較するオブジェクトの型public class NullMatcher<T>
extends org.hamcrest.BaseMatcher<T>
Constructor and Description |
---|
NullMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description)
Generates a description of the object.
|
boolean |
matches(java.lang.Object o)
Evaluates the matcher for argument item.
|
public boolean matches(java.lang.Object o)
o
- the object against which the matcher is evaluated.true
if item matches, otherwise false
.BaseMatcher
public void describeTo(org.hamcrest.Description description)
description
- The description to be built or appended to.