V
- the type of the values of the tensorpublic class AllElementsEqualTo<V> extends org.hamcrest.TypeSafeMatcher<Tensor<V>>
null
, then then matcher would return true, only if all the elements also would be null
.Modifier and Type | Method and Description |
---|---|
static <V> org.hamcrest.Matcher<Tensor<V>> |
allElementsEqualTo(V value) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(Tensor<V> tensor) |
describeMismatch, describeMismatchSafely, matches
public static final <V> org.hamcrest.Matcher<Tensor<V>> allElementsEqualTo(V value)
public void describeTo(org.hamcrest.Description description)