A B C D E F G H I L M N O P R S T _ 

A

AllOf<T> - Class in org.hamcrest.core
Calculates the logical conjunction of multiple matchers.
AllOf(Iterable<Matcher<? super T>>) - Constructor for class org.hamcrest.core.AllOf
 
allOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>...) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>...) - Static method in class org.hamcrest.CoreMatchers
 
allOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>...) - Static method in class org.hamcrest.Matchers
 
allOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
and(Matcher<? super T>) - Method in class org.hamcrest.core.CombinableMatcher
 
any(Class<T>) - Static method in class org.hamcrest.core.IsInstanceOf
Is the value an instance of a particular type? Use this version to make generics conform, for example in the JMock clause with(any(Thing.class))
any(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Is the value an instance of a particular type? Use this version to make generics conform, for example in the JMock clause with(any(Thing.class))
any(Class<T>) - Static method in class org.hamcrest.Matchers
Is the value an instance of a particular type? Use this version to make generics conform, for example in the JMock clause with(any(Thing.class))
AnyOf<T> - Class in org.hamcrest.core
Calculates the logical disjunction of multiple matchers.
AnyOf(Iterable<Matcher<? super T>>) - Constructor for class org.hamcrest.core.AnyOf
 
anyOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? super T>...) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? super T>...) - Static method in class org.hamcrest.CoreMatchers
 
anyOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? super T>...) - Static method in class org.hamcrest.Matchers
 
anyOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anything() - Static method in class org.hamcrest.core.IsAnything
This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.core.IsAnything
This matcher always evaluates to true.
anything() - Static method in class org.hamcrest.CoreMatchers
This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.CoreMatchers
This matcher always evaluates to true.
anything() - Static method in class org.hamcrest.Matchers
This matcher always evaluates to true.
anything(String) - Static method in class org.hamcrest.Matchers
This matcher always evaluates to true.
append(String) - Method in class org.hamcrest.BaseDescription
Append the String str to the description.
append(char) - Method in class org.hamcrest.BaseDescription
Append the char c to the description.
append(String) - Method in class org.hamcrest.StringDescription
 
append(char) - Method in class org.hamcrest.StringDescription
 
appendDescriptionOf(SelfDescribing) - Method in class org.hamcrest.BaseDescription
 
appendDescriptionOf(SelfDescribing) - Method in interface org.hamcrest.Description
Appends the description of a SelfDescribing value to this description.
appendDescriptionOf(SelfDescribing) - Method in class org.hamcrest.Description.NullDescription
 
appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in class org.hamcrest.BaseDescription
 
appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in interface org.hamcrest.Description
Appends a list of SelfDescribing objects to the description.
appendList(String, String, String, Iterable<? extends SelfDescribing>) - Method in class org.hamcrest.Description.NullDescription
 
appendText(String) - Method in class org.hamcrest.BaseDescription
 
appendText(String) - Method in interface org.hamcrest.Description
Appends some plain text to the description.
appendText(String) - Method in class org.hamcrest.Description.NullDescription
 
appendValue(Object) - Method in class org.hamcrest.BaseDescription
 
appendValue(Object) - Method in interface org.hamcrest.Description
Appends an arbitary value to the description.
appendValue(Object) - Method in class org.hamcrest.Description.NullDescription
 
appendValueList(String, String, String, T...) - Method in class org.hamcrest.BaseDescription
 
appendValueList(String, String, String, Iterable<T>) - Method in class org.hamcrest.BaseDescription
 
appendValueList(String, String, String, T...) - Method in interface org.hamcrest.Description
Appends a list of values to the description.
appendValueList(String, String, String, Iterable<T>) - Method in interface org.hamcrest.Description
Appends a list of values to the description.
appendValueList(String, String, String, T...) - Method in class org.hamcrest.Description.NullDescription
 
appendValueList(String, String, String, Iterable<T>) - Method in class org.hamcrest.Description.NullDescription
 
array(Matcher<? super T>...) - Static method in class org.hamcrest.collection.IsArray
Evaluates to true only if each matcher[i] is satisfied by array[i].
array(Matcher<? super T>...) - Static method in class org.hamcrest.Matchers
 
arrayContaining(E...) - Static method in class org.hamcrest.collection.IsArrayContainingInOrder
 
arrayContaining(Matcher<? super E>...) - Static method in class org.hamcrest.collection.IsArrayContainingInOrder
 
arrayContaining(List<Matcher<? super E>>) - Static method in class org.hamcrest.collection.IsArrayContainingInOrder
 
arrayContaining(E...) - Static method in class org.hamcrest.Matchers
 
arrayContaining(List<Matcher<? super E>>) - Static method in class org.hamcrest.Matchers
 
arrayContaining(Matcher<? super E>...) - Static method in class org.hamcrest.Matchers
 
arrayContainingInAnyOrder(Matcher<? super E>...) - Static method in class org.hamcrest.collection.IsArrayContainingInAnyOrder
 
arrayContainingInAnyOrder(Collection<Matcher<? super E>>) - Static method in class org.hamcrest.collection.IsArrayContainingInAnyOrder
 
arrayContainingInAnyOrder(E...) - Static method in class org.hamcrest.collection.IsArrayContainingInAnyOrder
 
arrayContainingInAnyOrder(Matcher<? super E>...) - Static method in class org.hamcrest.Matchers
 
arrayContainingInAnyOrder(E...) - Static method in class org.hamcrest.Matchers
 
arrayContainingInAnyOrder(Collection<Matcher<? super E>>) - Static method in class org.hamcrest.Matchers
 
ArrayIterator - Class in org.hamcrest.internal
 
ArrayIterator(Object) - Constructor for class org.hamcrest.internal.ArrayIterator
 
arrayWithSize(Matcher<? super Integer>) - Static method in class org.hamcrest.collection.IsArrayWithSize
Does array size satisfy a given matcher?
arrayWithSize(int) - Static method in class org.hamcrest.collection.IsArrayWithSize
This is a shortcut to the frequently used arrayWithSize(equalTo(x)).
arrayWithSize(Matcher<? super Integer>) - Static method in class org.hamcrest.Matchers
Does array size satisfy a given matcher?
arrayWithSize(int) - Static method in class org.hamcrest.Matchers
This is a shortcut to the frequently used arrayWithSize(equalTo(x)).
assertThat(T, Matcher<? super T>) - Static method in class org.hamcrest.MatcherAssert
 
assertThat(String, T, Matcher<? super T>) - Static method in class org.hamcrest.MatcherAssert
 
assertThat(String, boolean) - Static method in class org.hamcrest.MatcherAssert
 
asString(SelfDescribing) - Static method in class org.hamcrest.StringDescription

B

BaseDescription - Class in org.hamcrest
A Description that is stored as a string.
BaseDescription() - Constructor for class org.hamcrest.BaseDescription
 
BaseMatcher<T> - Class in org.hamcrest
BaseClass for all Matcher implementations.
BaseMatcher() - Constructor for class org.hamcrest.BaseMatcher
 
both(Matcher<? super LHS>) - Static method in class org.hamcrest.core.CombinableMatcher
This is useful for fluently combining matchers that must both pass.
both(Matcher<? super LHS>) - Static method in class org.hamcrest.CoreMatchers
This is useful for fluently combining matchers that must both pass.
both(Matcher<? super LHS>) - Static method in class org.hamcrest.Matchers
This is useful for fluently combining matchers that must both pass.

C

canObtainExpectedTypeFrom(Method) - Method in class org.hamcrest.internal.ReflectiveTypeFinder
 
closeTo(double, double) - Static method in class org.hamcrest.Matchers
 
closeTo(double, double) - Static method in class org.hamcrest.number.IsCloseTo
 
CombinableMatcher<T> - Class in org.hamcrest.core
 
CombinableMatcher(Matcher<? super T>) - Constructor for class org.hamcrest.core.CombinableMatcher
 
comparesEqualTo(T) - Static method in class org.hamcrest.Matchers
Is value = expected?
comparesEqualTo(T) - Static method in class org.hamcrest.number.OrderingComparison
Is value = expected?
contains(E...) - Static method in class org.hamcrest.collection.IsIterableContainingInOrder
 
contains(Matcher<E>) - Static method in class org.hamcrest.collection.IsIterableContainingInOrder
 
contains(Matcher<? super E>...) - Static method in class org.hamcrest.collection.IsIterableContainingInOrder
 
contains(List<Matcher<? super E>>) - Static method in class org.hamcrest.collection.IsIterableContainingInOrder
 
contains(Matcher<E>) - Static method in class org.hamcrest.Matchers
 
contains(Matcher<? super E>...) - Static method in class org.hamcrest.Matchers
 
contains(List<Matcher<? super E>>) - Static method in class org.hamcrest.Matchers
 
contains(E...) - Static method in class org.hamcrest.Matchers
 
containsInAnyOrder(Matcher<E>) - Static method in class org.hamcrest.collection.IsIterableContainingInAnyOrder
 
containsInAnyOrder(Matcher<? super T>...) - Static method in class org.hamcrest.collection.IsIterableContainingInAnyOrder
 
containsInAnyOrder(T...) - Static method in class org.hamcrest.collection.IsIterableContainingInAnyOrder
 
containsInAnyOrder(Collection<Matcher<? super T>>) - Static method in class org.hamcrest.collection.IsIterableContainingInAnyOrder
 
containsInAnyOrder(Matcher<? super T>...) - Static method in class org.hamcrest.Matchers
 
containsInAnyOrder(Collection<Matcher<? super T>>) - Static method in class org.hamcrest.Matchers
 
containsInAnyOrder(T...) - Static method in class org.hamcrest.Matchers
 
containsInAnyOrder(Matcher<E>) - Static method in class org.hamcrest.Matchers
 
containsString(String) - Static method in class org.hamcrest.core.StringContains
 
containsString(String) - Static method in class org.hamcrest.CoreMatchers
 
containsString(String) - Static method in class org.hamcrest.Matchers
 
CoreMatchers - Class in org.hamcrest
 
CoreMatchers() - Constructor for class org.hamcrest.CoreMatchers
 
CustomMatcher<T> - Class in org.hamcrest
Utility class for writing one off matchers.
CustomMatcher(String) - Constructor for class org.hamcrest.CustomMatcher
 
CustomTypeSafeMatcher<T> - Class in org.hamcrest
Utility class for writing one off matchers.
CustomTypeSafeMatcher(String) - Constructor for class org.hamcrest.CustomTypeSafeMatcher
 

D

DescribedAs<T> - Class in org.hamcrest.core
Provides a custom description to another matcher.
DescribedAs(String, Matcher<T>, Object[]) - Constructor for class org.hamcrest.core.DescribedAs
 
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.core.DescribedAs
Wraps an existing matcher and overrides the description when it fails.
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.CoreMatchers
 
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.Matchers
 
describeMismatch(Object, Description) - Method in class org.hamcrest.BaseMatcher
 
describeMismatch(Object, Description) - Method in class org.hamcrest.core.Is
 
describeMismatch(Object, Description) - Method in class org.hamcrest.DiagnosingMatcher
 
describeMismatch(Object, Description) - Method in interface org.hamcrest.Matcher
Generate a description of why the matcher has not accepted the item.
describeMismatch(Object, Description) - Method in class org.hamcrest.TypeSafeDiagnosingMatcher
 
describeMismatch(Object, Description) - Method in class org.hamcrest.TypeSafeMatcher
 
describeMismatchSafely(T, Description) - Method in class org.hamcrest.beans.HasProperty
 
describeMismatchSafely(T[], Description) - Method in class org.hamcrest.collection.IsArray
 
describeMismatchSafely(T[], Description) - Method in class org.hamcrest.collection.IsArrayContaining
 
describeMismatchSafely(E[], Description) - Method in class org.hamcrest.collection.IsArrayContainingInAnyOrder
 
describeMismatchSafely(E[], Description) - Method in class org.hamcrest.collection.IsArrayContainingInOrder
 
describeMismatchSafely(Collection<E>, Description) - Method in class org.hamcrest.collection.IsEmptyCollection
 
describeMismatchSafely(Iterable<E>, Description) - Method in class org.hamcrest.collection.IsEmptyIterable
 
describeMismatchSafely(Map<? extends K, ? extends V>, Description) - Method in class org.hamcrest.collection.IsMapContaining
 
describeMismatchSafely(Map<? super K, ?>, Description) - Method in class org.hamcrest.collection.IsMapContainingKey
 
describeMismatchSafely(Map<?, V>, Description) - Method in class org.hamcrest.collection.IsMapContainingValue
 
describeMismatchSafely(String, Description) - Method in class org.hamcrest.core.SubstringMatcher
 
describeMismatchSafely(Double, Description) - Method in class org.hamcrest.number.IsCloseTo
 
describeMismatchSafely(T, Description) - Method in class org.hamcrest.number.OrderingComparison
 
describeMismatchSafely(Class<?>, Description) - Method in class org.hamcrest.object.IsCompatibleType
 
describeMismatchSafely(String, Description) - Method in class org.hamcrest.text.IsEqualIgnoringCase
 
describeMismatchSafely(String, Description) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
describeMismatchSafely(String, Description) - Method in class org.hamcrest.text.StringContainsInOrder
 
describeMismatchSafely(T, Description) - Method in class org.hamcrest.TypeSafeMatcher
Subclasses should override this.
describeTo(Description) - Method in class org.hamcrest.beans.HasProperty
 
describeTo(Description) - Method in class org.hamcrest.beans.HasPropertyWithValue
 
describeTo(Description) - Method in class org.hamcrest.beans.SamePropertyValuesAs
 
describeTo(Description) - Method in class org.hamcrest.beans.SamePropertyValuesAs.PropertyMatcher
 
describeTo(Description) - Method in class org.hamcrest.collection.IsArray
 
describeTo(Description) - Method in class org.hamcrest.collection.IsArrayContaining
 
describeTo(Description) - Method in class org.hamcrest.collection.IsArrayContainingInAnyOrder
 
describeTo(Description) - Method in class org.hamcrest.collection.IsArrayContainingInOrder
 
describeTo(Description) - Method in class org.hamcrest.collection.IsEmptyCollection
 
describeTo(Description) - Method in class org.hamcrest.collection.IsEmptyIterable
 
describeTo(Description) - Method in class org.hamcrest.collection.IsIn
 
describeTo(Description) - Method in class org.hamcrest.collection.IsIterableContainingInAnyOrder
 
describeTo(Description) - Method in class org.hamcrest.collection.IsIterableContainingInOrder
 
describeTo(Description) - Method in class org.hamcrest.collection.IsMapContaining
 
describeTo(Description) - Method in class org.hamcrest.collection.IsMapContainingKey
 
describeTo(Description) - Method in class org.hamcrest.collection.IsMapContainingValue
 
describeTo(Description) - Method in class org.hamcrest.core.AllOf
 
describeTo(Description) - Method in class org.hamcrest.core.AnyOf
 
describeTo(Description) - Method in class org.hamcrest.core.CombinableMatcher
 
describeTo(Description) - Method in class org.hamcrest.core.DescribedAs
 
describeTo(Description) - Method in class org.hamcrest.core.Every
 
describeTo(Description) - Method in class org.hamcrest.core.Is
 
describeTo(Description) - Method in class org.hamcrest.core.IsAnything
 
describeTo(Description) - Method in class org.hamcrest.core.IsCollectionContaining
 
describeTo(Description) - Method in class org.hamcrest.core.IsEqual
 
describeTo(Description) - Method in class org.hamcrest.core.IsInstanceOf
 
describeTo(Description) - Method in class org.hamcrest.core.IsNot
 
describeTo(Description) - Method in class org.hamcrest.core.IsNull
 
describeTo(Description) - Method in class org.hamcrest.core.IsSame
 
describeTo(Description) - Method in class org.hamcrest.core.SubstringMatcher
 
describeTo(Description) - Method in class org.hamcrest.CustomMatcher
 
describeTo(Description) - Method in class org.hamcrest.CustomTypeSafeMatcher
 
describeTo(Description) - Method in class org.hamcrest.FeatureMatcher
 
describeTo(Description) - Method in class org.hamcrest.internal.SelfDescribingValue
 
describeTo(Description) - Method in class org.hamcrest.number.IsCloseTo
 
describeTo(Description) - Method in class org.hamcrest.number.OrderingComparison
 
describeTo(Description) - Method in class org.hamcrest.object.IsCompatibleType
 
describeTo(Description) - Method in class org.hamcrest.object.IsEventFrom
 
describeTo(Description) - Method in interface org.hamcrest.SelfDescribing
Generates a description of the object.
describeTo(Description) - Method in class org.hamcrest.text.IsEmptyString
 
describeTo(Description) - Method in class org.hamcrest.text.IsEqualIgnoringCase
 
describeTo(Description) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
describeTo(Description) - Method in class org.hamcrest.text.StringContainsInOrder
 
describeTo(Description) - Method in class org.hamcrest.xml.HasXPath
 
Description - Interface in org.hamcrest
A description of a Matcher.
Description.NullDescription - Class in org.hamcrest
 
Description.NullDescription() - Constructor for class org.hamcrest.Description.NullDescription
 
descriptionEnd() - Method in class org.hamcrest.collection.IsArray
Returns the string that ends the description.
descriptionSeparator() - Method in class org.hamcrest.collection.IsArray
Returns the string that separates the elements in the description.
descriptionStart() - Method in class org.hamcrest.collection.IsArray
Returns the string that starts the description.
DiagnosingMatcher<T> - Class in org.hamcrest
TODO(ngd): Document.
DiagnosingMatcher() - Constructor for class org.hamcrest.DiagnosingMatcher
 

E

either(Matcher<? super LHS>) - Static method in class org.hamcrest.core.CombinableMatcher
This is useful for fluently combining matchers where either may pass, for example:
either(Matcher<? super LHS>) - Static method in class org.hamcrest.CoreMatchers
This is useful for fluently combining matchers where either may pass, for example:
either(Matcher<? super LHS>) - Static method in class org.hamcrest.Matchers
This is useful for fluently combining matchers where either may pass, for example:
empty() - Static method in class org.hamcrest.collection.IsEmptyCollection
Matches an empty collection.
empty() - Static method in class org.hamcrest.Matchers
Matches an empty collection.
emptyArray() - Static method in class org.hamcrest.collection.IsArrayWithSize
Matches an empty array.
emptyArray() - Static method in class org.hamcrest.Matchers
Matches an empty array.
emptyIterable() - Static method in class org.hamcrest.collection.IsEmptyIterable
Matches an empty iterable.
emptyIterable() - Static method in class org.hamcrest.Matchers
Matches an empty iterable.
endsWith(String) - Static method in class org.hamcrest.core.StringEndsWith
 
endsWith(String) - Static method in class org.hamcrest.CoreMatchers
 
endsWith(String) - Static method in class org.hamcrest.Matchers
 
equalTo(T) - Static method in class org.hamcrest.core.IsEqual
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
equalTo(T) - Static method in class org.hamcrest.CoreMatchers
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
equalTo(T) - Static method in class org.hamcrest.Matchers
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
equalToIgnoringCase(String) - Static method in class org.hamcrest.Matchers
 
equalToIgnoringCase(String) - Static method in class org.hamcrest.text.IsEqualIgnoringCase
 
equalToIgnoringWhiteSpace(String) - Static method in class org.hamcrest.Matchers
 
equalToIgnoringWhiteSpace(String) - Static method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
evalSubstringOf(String) - Method in class org.hamcrest.core.StringContains
 
evalSubstringOf(String) - Method in class org.hamcrest.core.StringEndsWith
 
evalSubstringOf(String) - Method in class org.hamcrest.core.StringStartsWith
 
evalSubstringOf(String) - Method in class org.hamcrest.core.SubstringMatcher
 
eventFrom(Object) - Static method in class org.hamcrest.Matchers
Constructs an IsEventFrom Matcher that returns true for any object derived from EventObject announced by source .
eventFrom(Class<? extends EventObject>, Object) - Static method in class org.hamcrest.Matchers
Constructs an IsEventFrom Matcher that returns true for any object derived from eventClass announced by source.
eventFrom(Class<? extends EventObject>, Object) - Static method in class org.hamcrest.object.IsEventFrom
Constructs an IsEventFrom Matcher that returns true for any object derived from eventClass announced by source.
eventFrom(Object) - Static method in class org.hamcrest.object.IsEventFrom
Constructs an IsEventFrom Matcher that returns true for any object derived from EventObject announced by source .
Every<T> - Class in org.hamcrest.core
 
Every(Matcher<? super T>) - Constructor for class org.hamcrest.core.Every
 
everyItem(Matcher<U>) - Static method in class org.hamcrest.core.Every
 
everyItem(Matcher<U>) - Static method in class org.hamcrest.CoreMatchers
 
everyItem(Matcher<U>) - Static method in class org.hamcrest.Matchers
 
expectedTypeFrom(Method) - Method in class org.hamcrest.internal.ReflectiveTypeFinder
 

F

Factory - Annotation Type in org.hamcrest
Marks a Hamcrest static factory method so tools recognise them.
FeatureMatcher<T,U> - Class in org.hamcrest
Supporting class for matching a feature of an object.
FeatureMatcher(Matcher<? super U>, String, String) - Constructor for class org.hamcrest.FeatureMatcher
Constructor
featureValueOf(E[]) - Method in class org.hamcrest.collection.IsArrayWithSize
 
featureValueOf(Collection<? extends E>) - Method in class org.hamcrest.collection.IsCollectionWithSize
 
featureValueOf(Iterable<E>) - Method in class org.hamcrest.collection.IsIterableWithSize
 
featureValueOf(T) - Method in class org.hamcrest.FeatureMatcher
Implement this to extract the interesting feature.
featureValueOf(T) - Method in class org.hamcrest.object.HasToString
 
findExpectedType(Class<?>) - Method in class org.hamcrest.internal.ReflectiveTypeFinder
 

G

getPropertyDescriptor(String, Object) - Static method in class org.hamcrest.beans.PropertyUtil
Returns the description of the property with the provided name on the provided object's interface.
greaterThan(T) - Static method in class org.hamcrest.Matchers
Is value > expected?
greaterThan(T) - Static method in class org.hamcrest.number.OrderingComparison
Is value > expected?
greaterThanOrEqualTo(T) - Static method in class org.hamcrest.Matchers
Is value >= expected?
greaterThanOrEqualTo(T) - Static method in class org.hamcrest.number.OrderingComparison
Is value >= expected?

H

hasEntry(Matcher<? super K>, Matcher<? super V>) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasEntry(K, V) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasEntry(Matcher<? super K>, Matcher<? super V>) - Static method in class org.hamcrest.Matchers
 
hasEntry(K, V) - Static method in class org.hamcrest.Matchers
 
hasItem(Matcher<? super T>) - Static method in class org.hamcrest.core.IsCollectionContaining
 
hasItem(T) - Static method in class org.hamcrest.core.IsCollectionContaining
 
hasItem(T) - Static method in class org.hamcrest.CoreMatchers
 
hasItem(Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
 
hasItem(T) - Static method in class org.hamcrest.Matchers
 
hasItem(Matcher<? super T>) - Static method in class org.hamcrest.Matchers
 
hasItemInArray(Matcher<? super T>) - Static method in class org.hamcrest.collection.IsArrayContaining
Evaluates to true if any item in an array satisfies the given matcher.
hasItemInArray(T) - Static method in class org.hamcrest.collection.IsArrayContaining
This is a shortcut to the frequently used hasItemInArray(equalTo(x)).
hasItemInArray(Matcher<? super T>) - Static method in class org.hamcrest.Matchers
Evaluates to true if any item in an array satisfies the given matcher.
hasItemInArray(T) - Static method in class org.hamcrest.Matchers
This is a shortcut to the frequently used hasItemInArray(equalTo(x)).
hasItems(Matcher<? super T>...) - Static method in class org.hamcrest.core.IsCollectionContaining
 
hasItems(T...) - Static method in class org.hamcrest.core.IsCollectionContaining
 
hasItems(T...) - Static method in class org.hamcrest.CoreMatchers
 
hasItems(Matcher<? super T>...) - Static method in class org.hamcrest.CoreMatchers
 
hasItems(T...) - Static method in class org.hamcrest.Matchers
 
hasItems(Matcher<? super T>...) - Static method in class org.hamcrest.Matchers
 
hasKey(K) - Static method in class org.hamcrest.collection.IsMapContainingKey
 
hasKey(Matcher<? super K>) - Static method in class org.hamcrest.collection.IsMapContainingKey
 
hasKey(K) - Static method in class org.hamcrest.Matchers
 
hasKey(Matcher<? super K>) - Static method in class org.hamcrest.Matchers
 
hasNext() - Method in class org.hamcrest.internal.ArrayIterator
 
hasNext() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 
HasProperty<T> - Class in org.hamcrest.beans
Matcher that checks that an object has a JavaBean property with the specified name.
HasProperty(String) - Constructor for class org.hamcrest.beans.HasProperty
 
hasProperty(String) - Static method in class org.hamcrest.beans.HasProperty
 
hasProperty(String, Matcher<?>) - Static method in class org.hamcrest.beans.HasPropertyWithValue
 
hasProperty(String) - Static method in class org.hamcrest.Matchers
 
hasProperty(String, Matcher<?>) - Static method in class org.hamcrest.Matchers
 
HasPropertyWithValue<T> - Class in org.hamcrest.beans
Matcher that asserts that a JavaBean property on an argument passed to the mock object meets the provided matcher.
HasPropertyWithValue(String, Matcher<?>) - Constructor for class org.hamcrest.beans.HasPropertyWithValue
 
hasSize(Matcher<? super Integer>) - Static method in class org.hamcrest.collection.IsCollectionWithSize
Does collection size satisfy a given matcher?
hasSize(int) - Static method in class org.hamcrest.collection.IsCollectionWithSize
This is a shortcut to the frequently used hasSize(equalTo(x)).
hasSize(int) - Static method in class org.hamcrest.Matchers
This is a shortcut to the frequently used hasSize(equalTo(x)).
hasSize(Matcher<? super Integer>) - Static method in class org.hamcrest.Matchers
Does collection size satisfy a given matcher?
hasToString(String) - Static method in class org.hamcrest.Matchers
This is a shortcut to the frequently used has_string(equalTo(x)).
hasToString(Matcher<? super String>) - Static method in class org.hamcrest.Matchers
Evaluates whether item.toString() satisfies a given matcher.
HasToString<T> - Class in org.hamcrest.object
 
HasToString(Matcher<? super String>) - Constructor for class org.hamcrest.object.HasToString
 
hasToString(Matcher<? super String>) - Static method in class org.hamcrest.object.HasToString
Evaluates whether item.toString() satisfies a given matcher.
hasToString(String) - Static method in class org.hamcrest.object.HasToString
This is a shortcut to the frequently used has_string(equalTo(x)).
hasValue(V) - Static method in class org.hamcrest.collection.IsMapContainingValue
 
hasValue(Matcher<? super V>) - Static method in class org.hamcrest.collection.IsMapContainingValue
 
hasValue(V) - Static method in class org.hamcrest.Matchers
 
hasValue(Matcher<? super V>) - Static method in class org.hamcrest.Matchers
 
hasXPath(String) - Static method in class org.hamcrest.Matchers
 
hasXPath(String, NamespaceContext) - Static method in class org.hamcrest.Matchers
 
hasXPath(String, Matcher<? super String>) - Static method in class org.hamcrest.Matchers
 
hasXPath(String, NamespaceContext, Matcher<? super String>) - Static method in class org.hamcrest.Matchers
 
HasXPath - Class in org.hamcrest.xml
Applies a Matcher to a given XML Node in an existing XML Node tree, specified by an XPath expression.
HasXPath(String, Matcher<? super String>) - Constructor for class org.hamcrest.xml.HasXPath
 
HasXPath(String, NamespaceContext, Matcher<? super String>) - Constructor for class org.hamcrest.xml.HasXPath
 
hasXPath(String, Matcher<? super String>) - Static method in class org.hamcrest.xml.HasXPath
 
hasXPath(String, NamespaceContext, Matcher<? super String>) - Static method in class org.hamcrest.xml.HasXPath
 
hasXPath(String) - Static method in class org.hamcrest.xml.HasXPath
 
hasXPath(String, NamespaceContext) - Static method in class org.hamcrest.xml.HasXPath
 

I

instanceOf(Class<?>) - Static method in class org.hamcrest.core.IsInstanceOf
Is the value an instance of a particular type? This version assumes no relationship between the required type and the signature of the method that sets it up, for example in assertThat(anObject, instanceOf(Thing.class));
instanceOf(Class<?>) - Static method in class org.hamcrest.CoreMatchers
Is the value an instance of a particular type? This version assumes no relationship between the required type and the signature of the method that sets it up, for example in assertThat(anObject, instanceOf(Thing.class));
instanceOf(Class<?>) - Static method in class org.hamcrest.Matchers
Is the value an instance of a particular type? This version assumes no relationship between the required type and the signature of the method that sets it up, for example in assertThat(anObject, instanceOf(Thing.class));
Is<T> - Class in org.hamcrest.core
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
Is(Matcher<T>) - Constructor for class org.hamcrest.core.Is
 
is(Matcher<T>) - Static method in class org.hamcrest.core.Is
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.core.Is
This is a shortcut to the frequently used is(equalTo(x)).
is(Class<T>) - Static method in class org.hamcrest.core.Is
This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
is(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.CoreMatchers
This is a shortcut to the frequently used is(equalTo(x)).
is(Class<T>) - Static method in class org.hamcrest.CoreMatchers
This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
is(Matcher<T>) - Static method in class org.hamcrest.Matchers
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.Matchers
This is a shortcut to the frequently used is(equalTo(x)).
is(Class<T>) - Static method in class org.hamcrest.Matchers
This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
IsAnything<T> - Class in org.hamcrest.core
A matcher that always returns true.
IsAnything() - Constructor for class org.hamcrest.core.IsAnything
 
IsAnything(String) - Constructor for class org.hamcrest.core.IsAnything
 
IsArray<T> - Class in org.hamcrest.collection
Matcher for array whose elements satisfy a sequence of matchers.
IsArray(Matcher<? super T>[]) - Constructor for class org.hamcrest.collection.IsArray
 
IsArrayContaining<T> - Class in org.hamcrest.collection
Matches if an array contains an item satisfying a nested matcher.
IsArrayContaining(Matcher<? super T>) - Constructor for class org.hamcrest.collection.IsArrayContaining
 
IsArrayContainingInAnyOrder<E> - Class in org.hamcrest.collection
 
IsArrayContainingInAnyOrder(Collection<Matcher<? super E>>) - Constructor for class org.hamcrest.collection.IsArrayContainingInAnyOrder
 
IsArrayContainingInOrder<E> - Class in org.hamcrest.collection
 
IsArrayContainingInOrder(List<Matcher<? super E>>) - Constructor for class org.hamcrest.collection.IsArrayContainingInOrder
 
IsArrayWithSize<E> - Class in org.hamcrest.collection
Matches if array size satisfies a nested matcher.
IsArrayWithSize(Matcher<? super Integer>) - Constructor for class org.hamcrest.collection.IsArrayWithSize
 
IsCloseTo - Class in org.hamcrest.number
Is the value a number equal to a value within some range of acceptable error?
IsCloseTo(double, double) - Constructor for class org.hamcrest.number.IsCloseTo
 
IsCollectionContaining<T> - Class in org.hamcrest.core
 
IsCollectionContaining(Matcher<? super T>) - Constructor for class org.hamcrest.core.IsCollectionContaining
 
IsCollectionWithSize<E> - Class in org.hamcrest.collection
Matches if collection size satisfies a nested matcher.
IsCollectionWithSize(Matcher<? super Integer>) - Constructor for class org.hamcrest.collection.IsCollectionWithSize
 
IsCompatibleType<T> - Class in org.hamcrest.object
 
IsCompatibleType(Class<T>) - Constructor for class org.hamcrest.object.IsCompatibleType
 
IsEmptyCollection<E> - Class in org.hamcrest.collection
Tests if collection is empty.
IsEmptyCollection() - Constructor for class org.hamcrest.collection.IsEmptyCollection
 
IsEmptyIterable<E> - Class in org.hamcrest.collection
Tests if collection is empty.
IsEmptyIterable() - Constructor for class org.hamcrest.collection.IsEmptyIterable
 
isEmptyOrNullString() - Static method in class org.hamcrest.text.IsEmptyString
Matches if value is null or zero-length string.
IsEmptyString - Class in org.hamcrest.text
Matches empty Strings (and null).
IsEmptyString() - Constructor for class org.hamcrest.text.IsEmptyString
 
isEmptyString() - Static method in class org.hamcrest.text.IsEmptyString
Matches if value is null or zero-length string.
IsEqual<T> - Class in org.hamcrest.core
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
IsEqual(T) - Constructor for class org.hamcrest.core.IsEqual
 
IsEqualIgnoringCase - Class in org.hamcrest.text
Tests if a string is equal to another string, regardless of the case.
IsEqualIgnoringCase(String) - Constructor for class org.hamcrest.text.IsEqualIgnoringCase
 
IsEqualIgnoringWhiteSpace - Class in org.hamcrest.text
Tests if a string is equal to another string, ignoring any changes in whitespace.
IsEqualIgnoringWhiteSpace(String) - Constructor for class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
IsEventFrom - Class in org.hamcrest.object
Tests if the value is an event announced by a specific object.
IsEventFrom(Class<?>, Object) - Constructor for class org.hamcrest.object.IsEventFrom
 
IsIn<T> - Class in org.hamcrest.collection
 
IsIn(Collection<T>) - Constructor for class org.hamcrest.collection.IsIn
 
IsIn(T[]) - Constructor for class org.hamcrest.collection.IsIn
 
isIn(Collection<T>) - Static method in class org.hamcrest.collection.IsIn
 
isIn(T[]) - Static method in class org.hamcrest.collection.IsIn
 
isIn(Collection<T>) - Static method in class org.hamcrest.Matchers
 
isIn(T[]) - Static method in class org.hamcrest.Matchers
 
IsInstanceOf - Class in org.hamcrest.core
Tests whether the value is an instance of a class.
IsInstanceOf(Class<?>) - Constructor for class org.hamcrest.core.IsInstanceOf
Creates a new instance of IsInstanceOf
IsIterableContainingInAnyOrder<T> - Class in org.hamcrest.collection
 
IsIterableContainingInAnyOrder(Collection<Matcher<? super T>>) - Constructor for class org.hamcrest.collection.IsIterableContainingInAnyOrder
 
IsIterableContainingInOrder<E> - Class in org.hamcrest.collection
 
IsIterableContainingInOrder(List<Matcher<? super E>>) - Constructor for class org.hamcrest.collection.IsIterableContainingInOrder
 
IsIterableWithSize<E> - Class in org.hamcrest.collection
 
IsIterableWithSize(Matcher<? super Integer>) - Constructor for class org.hamcrest.collection.IsIterableWithSize
 
IsMapContaining<K,V> - Class in org.hamcrest.collection
 
IsMapContaining(Matcher<? super K>, Matcher<? super V>) - Constructor for class org.hamcrest.collection.IsMapContaining
 
IsMapContainingKey<K> - Class in org.hamcrest.collection
 
IsMapContainingKey(Matcher<? super K>) - Constructor for class org.hamcrest.collection.IsMapContainingKey
 
IsMapContainingValue<V> - Class in org.hamcrest.collection
 
IsMapContainingValue(Matcher<? super V>) - Constructor for class org.hamcrest.collection.IsMapContainingValue
 
IsNot<T> - Class in org.hamcrest.core
Calculates the logical negation of a matcher.
IsNot(Matcher<T>) - Constructor for class org.hamcrest.core.IsNot
 
IsNull<T> - Class in org.hamcrest.core
Is the value null?
IsNull() - Constructor for class org.hamcrest.core.IsNull
 
isOneOf(T...) - Static method in class org.hamcrest.collection.IsIn
 
isOneOf(T...) - Static method in class org.hamcrest.Matchers
 
IsSame<T> - Class in org.hamcrest.core
Is the value the same object as another value?
IsSame(T) - Constructor for class org.hamcrest.core.IsSame
 
iterableWithSize(Matcher<? super Integer>) - Static method in class org.hamcrest.collection.IsIterableWithSize
 
iterableWithSize(int) - Static method in class org.hamcrest.collection.IsIterableWithSize
 
iterableWithSize(int) - Static method in class org.hamcrest.Matchers
 
iterableWithSize(Matcher<? super Integer>) - Static method in class org.hamcrest.Matchers
 

L

lessThan(T) - Static method in class org.hamcrest.Matchers
Is value < expected?
lessThan(T) - Static method in class org.hamcrest.number.OrderingComparison
Is value < expected?
lessThanOrEqualTo(T) - Static method in class org.hamcrest.Matchers
Is value <= expected?
lessThanOrEqualTo(T) - Static method in class org.hamcrest.number.OrderingComparison
Is value <= expected?

M

Matcher<T> - Interface in org.hamcrest
A matcher over acceptable values.
MatcherAssert - Class in org.hamcrest
 
MatcherAssert() - Constructor for class org.hamcrest.MatcherAssert
 
Matchers - Class in org.hamcrest
 
Matchers() - Constructor for class org.hamcrest.Matchers
 
matches(Object, Description) - Method in class org.hamcrest.beans.SamePropertyValuesAs.PropertyMatcher
 
matches(Object) - Method in class org.hamcrest.collection.IsIn
 
matches(Object, Description) - Method in class org.hamcrest.core.AllOf
 
matches(Object) - Method in class org.hamcrest.core.AnyOf
 
matches(Object) - Method in class org.hamcrest.core.CombinableMatcher
 
matches(Object) - Method in class org.hamcrest.core.DescribedAs
 
matches(Object) - Method in class org.hamcrest.core.Is
 
matches(Object) - Method in class org.hamcrest.core.IsAnything
 
matches(Object) - Method in class org.hamcrest.core.IsEqual
 
matches(Object, Description) - Method in class org.hamcrest.core.IsInstanceOf
 
matches(Object) - Method in class org.hamcrest.core.IsNot
 
matches(Object) - Method in class org.hamcrest.core.IsNull
 
matches(Object) - Method in class org.hamcrest.core.IsSame
 
matches(Object) - Method in class org.hamcrest.DiagnosingMatcher
 
matches(Object, Description) - Method in class org.hamcrest.DiagnosingMatcher
 
matches(Object) - Method in interface org.hamcrest.Matcher
Evaluates the matcher for argument item.
matches(Object) - Method in class org.hamcrest.text.IsEmptyString
 
matches(Object) - Method in class org.hamcrest.TypeSafeDiagnosingMatcher
 
matches(Object) - Method in class org.hamcrest.TypeSafeMatcher
Methods made final to prevent accidental override.
matchesSafely(T) - Method in class org.hamcrest.beans.HasProperty
 
matchesSafely(T, Description) - Method in class org.hamcrest.beans.HasPropertyWithValue
 
matchesSafely(T, Description) - Method in class org.hamcrest.beans.SamePropertyValuesAs
 
matchesSafely(T[]) - Method in class org.hamcrest.collection.IsArray
 
matchesSafely(T[]) - Method in class org.hamcrest.collection.IsArrayContaining
 
matchesSafely(E[]) - Method in class org.hamcrest.collection.IsArrayContainingInAnyOrder
 
matchesSafely(E[]) - Method in class org.hamcrest.collection.IsArrayContainingInOrder
 
matchesSafely(Collection<E>) - Method in class org.hamcrest.collection.IsEmptyCollection
 
matchesSafely(Iterable<E>) - Method in class org.hamcrest.collection.IsEmptyIterable
 
matchesSafely(Iterable<T>, Description) - Method in class org.hamcrest.collection.IsIterableContainingInAnyOrder
 
matchesSafely(Iterable<E>, Description) - Method in class org.hamcrest.collection.IsIterableContainingInOrder
 
matchesSafely(Map<? extends K, ? extends V>) - Method in class org.hamcrest.collection.IsMapContaining
 
matchesSafely(Map<? super K, ?>) - Method in class org.hamcrest.collection.IsMapContainingKey
 
matchesSafely(Map<?, V>) - Method in class org.hamcrest.collection.IsMapContainingValue
 
matchesSafely(Iterable<T>, Description) - Method in class org.hamcrest.core.Every
 
matchesSafely(Iterable<? super T>, Description) - Method in class org.hamcrest.core.IsCollectionContaining
 
matchesSafely(String) - Method in class org.hamcrest.core.SubstringMatcher
 
matchesSafely(T, Description) - Method in class org.hamcrest.FeatureMatcher
 
matchesSafely(Double) - Method in class org.hamcrest.number.IsCloseTo
 
matchesSafely(T) - Method in class org.hamcrest.number.OrderingComparison
 
matchesSafely(Class<?>) - Method in class org.hamcrest.object.IsCompatibleType
 
matchesSafely(EventObject, Description) - Method in class org.hamcrest.object.IsEventFrom
 
matchesSafely(String) - Method in class org.hamcrest.text.IsEqualIgnoringCase
 
matchesSafely(String) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
matchesSafely(String) - Method in class org.hamcrest.text.StringContainsInOrder
 
matchesSafely(T, Description) - Method in class org.hamcrest.TypeSafeDiagnosingMatcher
Subclasses should implement this.
matchesSafely(T) - Method in class org.hamcrest.TypeSafeMatcher
Subclasses should implement this.
matchesSafely(Node, Description) - Method in class org.hamcrest.xml.HasXPath
 

N

next() - Method in class org.hamcrest.internal.ArrayIterator
 
next() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 
NO_ARGUMENTS - Static variable in class org.hamcrest.beans.PropertyUtil
 
NONE - Static variable in interface org.hamcrest.Description
A description that consumes input but does nothing.
not(Matcher<T>) - Static method in class org.hamcrest.core.IsNot
Inverts the rule.
not(T) - Static method in class org.hamcrest.core.IsNot
This is a shortcut to the frequently used not(equalTo(x)).
not(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
Inverts the rule.
not(T) - Static method in class org.hamcrest.CoreMatchers
This is a shortcut to the frequently used not(equalTo(x)).
not(Matcher<T>) - Static method in class org.hamcrest.Matchers
Inverts the rule.
not(T) - Static method in class org.hamcrest.Matchers
This is a shortcut to the frequently used not(equalTo(x)).
notNullValue() - Static method in class org.hamcrest.core.IsNull
Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
Matches if value is not null.
notNullValue() - Static method in class org.hamcrest.CoreMatchers
Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Matches if value is not null.
notNullValue() - Static method in class org.hamcrest.Matchers
Matches if value is not null.
notNullValue(Class<T>) - Static method in class org.hamcrest.Matchers
Matches if value is not null.
nullValue() - Static method in class org.hamcrest.core.IsNull
Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Matches if value is null.
nullValue() - Static method in class org.hamcrest.CoreMatchers
Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.Matchers
Matches if value is null.
nullValue() - Static method in class org.hamcrest.Matchers
Matches if value is null.

O

or(Matcher<? super T>) - Method in class org.hamcrest.core.CombinableMatcher
 
OrderingComparison<T extends java.lang.Comparable<T>> - Class in org.hamcrest.number
 
org.hamcrest - package org.hamcrest
The stable API defining Matcher and its associated interfaces and classes.
org.hamcrest.beans - package org.hamcrest.beans
Matchers of Java Bean properties and their values.
org.hamcrest.collection - package org.hamcrest.collection
Matchers of arrays and collections.
org.hamcrest.core - package org.hamcrest.core
Fundamental matchers of objects and values, and composite matchers.
org.hamcrest.internal - package org.hamcrest.internal
 
org.hamcrest.number - package org.hamcrest.number
Matchers that perform numeric comparisons.
org.hamcrest.object - package org.hamcrest.object
Matchers that inspect objects and classes.
org.hamcrest.text - package org.hamcrest.text
Matchers that perform text comparisons.
org.hamcrest.xml - package org.hamcrest.xml
Matchers of XML documents.

P

propertyDescriptorsFor(Object, Class<Object>) - Static method in class org.hamcrest.beans.PropertyUtil
Returns all the property descriptors for the class associated with the given object
PropertyUtil - Class in org.hamcrest.beans
Utility class for accessing properties on JavaBean objects.
PropertyUtil() - Constructor for class org.hamcrest.beans.PropertyUtil
 

R

ReflectiveTypeFinder - Class in org.hamcrest.internal
 
ReflectiveTypeFinder(String, int, int) - Constructor for class org.hamcrest.internal.ReflectiveTypeFinder
 
relationship() - Method in class org.hamcrest.core.StringContains
 
relationship() - Method in class org.hamcrest.core.StringEndsWith
 
relationship() - Method in class org.hamcrest.core.StringStartsWith
 
relationship() - Method in class org.hamcrest.core.SubstringMatcher
 
remove() - Method in class org.hamcrest.internal.ArrayIterator
 
remove() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 

S

sameInstance(T) - Static method in class org.hamcrest.core.IsSame
Creates a new instance of IsSame
sameInstance(T) - Static method in class org.hamcrest.CoreMatchers
Creates a new instance of IsSame
sameInstance(T) - Static method in class org.hamcrest.Matchers
Creates a new instance of IsSame
SamePropertyValuesAs<T> - Class in org.hamcrest.beans
 
SamePropertyValuesAs(T) - Constructor for class org.hamcrest.beans.SamePropertyValuesAs
 
samePropertyValuesAs(T) - Static method in class org.hamcrest.beans.SamePropertyValuesAs
 
samePropertyValuesAs(T) - Static method in class org.hamcrest.Matchers
 
SamePropertyValuesAs.PropertyMatcher - Class in org.hamcrest.beans
 
SamePropertyValuesAs.PropertyMatcher(PropertyDescriptor, Object) - Constructor for class org.hamcrest.beans.SamePropertyValuesAs.PropertyMatcher
 
SelfDescribing - Interface in org.hamcrest
The ability of an object to describe itself.
SelfDescribingValue<T> - Class in org.hamcrest.internal
 
SelfDescribingValue(T) - Constructor for class org.hamcrest.internal.SelfDescribingValue
 
SelfDescribingValueIterator<T> - Class in org.hamcrest.internal
 
SelfDescribingValueIterator(Iterator<T>) - Constructor for class org.hamcrest.internal.SelfDescribingValueIterator
 
startsWith(String) - Static method in class org.hamcrest.core.StringStartsWith
 
startsWith(String) - Static method in class org.hamcrest.CoreMatchers
 
startsWith(String) - Static method in class org.hamcrest.Matchers
 
StringContains - Class in org.hamcrest.core
Tests if the argument is a string that contains a substring.
StringContains(String) - Constructor for class org.hamcrest.core.StringContains
 
StringContainsInOrder - Class in org.hamcrest.text
 
StringContainsInOrder(Iterable<String>) - Constructor for class org.hamcrest.text.StringContainsInOrder
 
stringContainsInOrder(Iterable<String>) - Static method in class org.hamcrest.text.StringContainsInOrder
 
StringDescription - Class in org.hamcrest
A Description that is stored as a string.
StringDescription() - Constructor for class org.hamcrest.StringDescription
 
StringDescription(Appendable) - Constructor for class org.hamcrest.StringDescription
 
StringEndsWith - Class in org.hamcrest.core
Tests if the argument is a string that contains a substring.
StringEndsWith(String) - Constructor for class org.hamcrest.core.StringEndsWith
 
StringStartsWith - Class in org.hamcrest.core
Tests if the argument is a string that contains a substring.
StringStartsWith(String) - Constructor for class org.hamcrest.core.StringStartsWith
 
stripSpace(String) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
substring - Variable in class org.hamcrest.core.SubstringMatcher
 
SubstringMatcher - Class in org.hamcrest.core
 
SubstringMatcher(String) - Constructor for class org.hamcrest.core.SubstringMatcher
 

T

toString() - Method in class org.hamcrest.BaseMatcher
 
toString() - Method in class org.hamcrest.Description.NullDescription
 
toString(SelfDescribing) - Static method in class org.hamcrest.StringDescription
Return the description of a SelfDescribing object as a String.
toString() - Method in class org.hamcrest.StringDescription
Returns the description as a string.
typeCompatibleWith(Class<T>) - Static method in class org.hamcrest.Matchers
 
typeCompatibleWith(Class<T>) - Static method in class org.hamcrest.object.IsCompatibleType
 
TypeSafeDiagnosingMatcher<T> - Class in org.hamcrest
Convenient base class for Matchers that require a non-null value of a specific type and that will report why the received value has been rejected.
TypeSafeDiagnosingMatcher(Class<?>) - Constructor for class org.hamcrest.TypeSafeDiagnosingMatcher
Use this constructor if the subclass that implements matchesSafely is not the class that binds <T> to a type.
TypeSafeDiagnosingMatcher(ReflectiveTypeFinder) - Constructor for class org.hamcrest.TypeSafeDiagnosingMatcher
Use this constructor if the subclass that implements matchesSafely is not the class that binds <T> to a type.
TypeSafeDiagnosingMatcher() - Constructor for class org.hamcrest.TypeSafeDiagnosingMatcher
The default constructor for simple sub types
TypeSafeMatcher<T> - Class in org.hamcrest
Convenient base class for Matchers that require a non-null value of a specific type.
TypeSafeMatcher() - Constructor for class org.hamcrest.TypeSafeMatcher
The default constructor for simple sub types
TypeSafeMatcher(Class<?>) - Constructor for class org.hamcrest.TypeSafeMatcher
Use this constructor if the subclass that implements matchesSafely is not the class that binds <T> to a type.
TypeSafeMatcher(ReflectiveTypeFinder) - Constructor for class org.hamcrest.TypeSafeMatcher
Use this constructor if the subclass that implements matchesSafely is not the class that binds <T> to a type.

_

_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in class org.hamcrest.BaseMatcher
 
_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in interface org.hamcrest.Matcher
Deprecated.
to make
A B C D E F G H I L M N O P R S T _