Package org.hamcrest.collection
Matchers of arrays and collections.
-
Class Summary Class Description ArrayAsIterableMatcher<E> ArrayMatching HasItemInArray<T> Matches if an array contains an item satisfying a nested matcher.IsArray<T> Matcher for array whose elements satisfy a sequence of matchers.IsArrayContainingInAnyOrder<E> Deprecated. As of release 2.1, replaced byArrayMatching
.IsArrayContainingInOrder<E> Deprecated. As of release 2.1, replaced byArrayMatching
.IsArrayWithSize<E> Matches if array size satisfies a nested matcher.IsCollectionWithSize<E> Matches if collection size satisfies a nested matcher.IsEmptyCollection<E> Tests if collection is empty.IsEmptyIterable<E> Tests if collection is empty.IsIn<T> IsIterableContainingInAnyOrder<T> IsIterableContainingInAnyOrder.Matching<S> IsIterableContainingInOrder<E> IsIterableContainingInOrder.MatchSeries<F> IsIterableContainingInRelativeOrder<E> IsIterableContainingInRelativeOrder.MatchSeriesInRelativeOrder<F> IsIterableWithSize<E> IsMapContaining<K,V> IsMapWithSize<K,V> Matches if map size satisfies a nested matcher.