public class HasSameSizeAs<T>
extends org.hamcrest.BaseMatcher<T>
| Modifier | Constructor and Description |
|---|---|
protected |
HasSameSizeAs(T compareTo) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
static <T> org.hamcrest.Matcher<T> |
hasSameLengthAs(T compareTo) |
static <T> org.hamcrest.Matcher<T> |
hasSameSizeAs(T compareTo) |
boolean |
matches(Object item) |
@Nonnull public static <T> org.hamcrest.Matcher<T> hasSameSizeAs(@Nullable T compareTo)
@Nonnull public static <T> org.hamcrest.Matcher<T> hasSameLengthAs(@Nullable T compareTo)
public void describeTo(@Nonnull org.hamcrest.Description description)
Copyright © 2017 echocat. All rights reserved.