public class CollectionMatchers
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<java.util.Collection<T>> |
containsAllItemsOf(java.util.Collection<T> expectedItems) |
static <T> org.hamcrest.Matcher<java.util.Collection<T>> |
containsAllItemsOf(T... expectedItems) |
static <T> org.hamcrest.Matcher<java.util.Collection<T>> |
containsItemsOf(java.util.Collection<T> expectedItems) |
static <T> org.hamcrest.Matcher<java.util.Collection<T>> |
containsItemsOf(T... expectedItems) |
static org.hamcrest.Matcher<java.util.Collection<?>> |
hasSameSizeAs(java.lang.Object what) |
static org.hamcrest.Matcher<java.util.Collection<?>> |
hasSize(int size) |
static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> |
isEqualTo(java.lang.Iterable<T> expectedItems) |
static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> |
isEqualTo(T... expectedItems) |
@SafeVarargs
@Nonnull
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> isEqualTo(@Nullable
T... expectedItems)
@Nonnull
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> isEqualTo(@Nonnull
java.lang.Iterable<T> expectedItems)
@SafeVarargs
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Collection<T>> containsAllItemsOf(@Nullable
T... expectedItems)
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Collection<T>> containsAllItemsOf(@Nonnull
java.util.Collection<T> expectedItems)
@SafeVarargs
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Collection<T>> containsItemsOf(@Nullable
T... expectedItems)
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Collection<T>> containsItemsOf(@Nonnull
java.util.Collection<T> expectedItems)
@Nonnull
public static org.hamcrest.Matcher<java.util.Collection<?>> hasSize(@Nonnegative
int size)
@Nonnull
public static org.hamcrest.Matcher<java.util.Collection<?>> hasSameSizeAs(@Nullable
java.lang.Object what)
Copyright © 2013 echocat. All Rights Reserved.