Top Description Classes
[default module]

Package org.hamcrest.collection


Matchers of arrays and collections.

Class Summary

Modifier and TypeClass and Description
public class
public class
public class
HasItemInArray<T>

Matches if an array contains an item satisfying a nested matcher.

public class
IsArray<T>

Matcher for array whose elements satisfy a sequence of matchers.

public class
IsArrayContainingInAnyOrder<E>

Deprecated As of release 2.1, replaced by ArrayMatching.
public class
IsArrayContainingInOrder<E>

Deprecated As of release 2.1, replaced by ArrayMatching.
public class
IsArrayWithSize<E>

Matches if array size satisfies a nested matcher.

public class
IsCollectionWithSize<E>

Matches if collection size satisfies a nested matcher.

public class
IsEmptyCollection<E>

Tests if collection is empty.

public class
IsEmptyIterable<E>

Tests if collection is empty.

public class
IsIn<T>

public class
public class
public class
public class
public class
public class
IsMapWithSize<K, V>

Matches if map size satisfies a nested matcher.