Deprecated List (Hamcrest 2.1 API)
Date: 2018-12-21

# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods

- Deprecated Classes
  Class and Description
  org.hamcrest.collection.IsArrayContainingInAnyOrder As of release 2.1, replaced by `ArrayMatching`.
  org.hamcrest.collection.IsArrayContainingInOrder As of release 2.1, replaced by `ArrayMatching`.
  org.hamcrest.core.IsCollectionContaining As of release 2.1, replaced by `IsIterableContaining`.

- Deprecated Methods
  Method and Description
  org.hamcrest.BaseMatcher._dont_implement_Matcher___instead_extend_BaseMatcher_()
  org.hamcrest.Matcher._dont_implement_Matcher___instead_extend_BaseMatcher_() to make
  org.hamcrest.collection.IsArrayContainingInOrder.arrayContaining(E...) As of version 2.1, use `ArrayMatching.arrayContaining(Object[])`.
  org.hamcrest.collection.IsArrayContainingInOrder.arrayContaining(List<Matcher<? super E>>) As of version 2.1, use `ArrayMatching.arrayContaining(List)`.
  org.hamcrest.collection.IsArrayContainingInOrder.arrayContaining(Matcher<? super E>...) As of version 2.1, use `ArrayMatching.arrayContaining(Matcher[])`.
  org.hamcrest.collection.IsArrayContainingInAnyOrder.arrayContainingInAnyOrder(Collection<Matcher<? super E>>) As of version 2.1, use `ArrayMatching.arrayContainingInAnyOrder(Collection)`.
  org.hamcrest.collection.IsArrayContainingInAnyOrder.arrayContainingInAnyOrder(E...) As of version 2.1, use `ArrayMatching.arrayContainingInAnyOrder(Object[])`.
  org.hamcrest.collection.IsArrayContainingInAnyOrder.arrayContainingInAnyOrder(Matcher<? super E>...) As of version 2.1, use `ArrayMatching.arrayContainingInAnyOrder(Matcher[])`.
  org.hamcrest.Matchers.equalToIgnoringWhiteSpace(String) `Matchers.equalToCompressingWhiteSpace(String)`
  org.hamcrest.text.IsEqualCompressingWhiteSpace.equalToIgnoringWhiteSpace(String) `IsEqualCompressingWhiteSpace.equalToCompressingWhiteSpace(String)`
  org.hamcrest.core.IsCollectionContaining.hasItem(Matcher<? super T>) As of version 2.1, use `IsIterableContaining.hasItem(Matcher)`.
  org.hamcrest.core.IsCollectionContaining.hasItem(T) As of version 2.1, use `IsIterableContaining.hasItem(Object)`.
  org.hamcrest.core.IsCollectionContaining.hasItems(Matcher<? super T>...) As of version 2.1, use `IsIterableContaining.hasItems(Matcher[])`}.
  org.hamcrest.core.IsCollectionContaining.hasItems(T...) As of version 2.1, use `IsIterableContaining.hasItems(Object[])`}.
  org.hamcrest.Matchers.isEmptyOrNullString() use is(emptyOrNullString()) instead
  org.hamcrest.text.IsEmptyString.isEmptyOrNullString() use is(emptyOrNullString()) instead
  org.hamcrest.Matchers.isEmptyString() use is(emptyString()) instead
  org.hamcrest.text.IsEmptyString.isEmptyString() use is(emptyString()) instead
  org.hamcrest.collection.IsIn.isIn(Collection<T>) use is(in(...)) instead
  org.hamcrest.Matchers.isIn(Collection<T>) use is(in(...)) instead
  org.hamcrest.collection.IsIn.isIn(T[]) use is(in(...)) instead
  org.hamcrest.Matchers.isIn(T[]) use is(in(...)) instead
  org.hamcrest.collection.IsIn.isOneOf(T...) use is(oneOf(...)) instead
  org.hamcrest.Matchers.isOneOf(T...) use is(oneOf(...)) instead