A B C D E F H I M N O 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
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>...) - Static method in class org.hamcrest.core.AllOf
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>...) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ALL of the specified matchers.
and(Condition.Step<? super T, U>) - Method in class org.hamcrest.Condition
 
and(Matcher<? super T>) - Method in class org.hamcrest.core.CombinableMatcher
 
and(Matcher<? super X>) - Method in class org.hamcrest.core.CombinableMatcher.CombinableBothMatcher
 
any(Class<T>) - Static method in class org.hamcrest.core.IsInstanceOf
Creates a matcher that matches when the examined object is an instance of the specified type, as determined by calling the Class.isInstance(Object) method on that type, passing the the examined object.
any(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches when the examined object is an instance of the specified type, as determined by calling the Class.isInstance(Object) method on that type, passing the the examined object.
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
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<? super T>...) - Static method in class org.hamcrest.core.AnyOf
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AnyOf
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
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
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Iterable<Matcher<? super T>>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
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
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<T>, Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anyOf(Matcher<? super T>...) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined object matches ANY of the specified matchers.
anything() - Static method in class org.hamcrest.core.IsAnything
Creates a matcher that always matches, regardless of the examined object.
anything(String) - Static method in class org.hamcrest.core.IsAnything
Creates a matcher that always matches, regardless of the examined object, but describes itself with the specified String.
anything() - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that always matches, regardless of the examined object.
anything(String) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that always matches, regardless of the examined object, but describes itself with the specified String.
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
 
apply(I, Description) - Method in interface org.hamcrest.Condition.Step
 
ArrayIterator - Class in org.hamcrest.internal
 
ArrayIterator(Object) - Constructor for class org.hamcrest.internal.ArrayIterator
 
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
Alias for StringDescription.toString(SelfDescribing).

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
Creates a matcher that matches when both of the specified matchers match the examined object.
both(Matcher<? super LHS>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches when both of the specified matchers match the examined object.

C

canObtainExpectedTypeFrom(Method) - Method in class org.hamcrest.internal.ReflectiveTypeFinder
 
CombinableMatcher<T> - Class in org.hamcrest.core
 
CombinableMatcher(Matcher<? super T>) - Constructor for class org.hamcrest.core.CombinableMatcher
 
CombinableMatcher.CombinableBothMatcher<X> - Class in org.hamcrest.core
 
CombinableMatcher.CombinableBothMatcher(Matcher<? super X>) - Constructor for class org.hamcrest.core.CombinableMatcher.CombinableBothMatcher
 
CombinableMatcher.CombinableEitherMatcher<X> - Class in org.hamcrest.core
 
CombinableMatcher.CombinableEitherMatcher(Matcher<? super X>) - Constructor for class org.hamcrest.core.CombinableMatcher.CombinableEitherMatcher
 
Condition<T> - Class in org.hamcrest
A Condition implements part of a multi-step match.
Condition.Step<I,O> - Interface in org.hamcrest
 
containsString(String) - Static method in class org.hamcrest.core.StringContains
Creates a matcher that matches if the examined String contains the specified String anywhere.
containsString(String) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined String contains the specified String anywhere.
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, overriding its description with that specified.
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.CoreMatchers
Wraps an existing matcher, overriding its description with that specified.
describeMismatch(Object, Description) - Method in class org.hamcrest.BaseMatcher
 
describeMismatch(Object, Description) - Method in class org.hamcrest.core.DescribedAs
 
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(String, Description) - Method in class org.hamcrest.core.SubstringMatcher
 
describeMismatchSafely(T, Description) - Method in class org.hamcrest.TypeSafeMatcher
Subclasses should override this.
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 interface org.hamcrest.SelfDescribing
Generates a description of the object.
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
 
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
Creates a matcher that matches when either of the specified matchers match the examined object.
either(Matcher<? super LHS>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches when either of the specified matchers match the examined object.
endsWith(String) - Static method in class org.hamcrest.core.StringEndsWith
Creates a matcher that matches if the examined String ends with the specified String.
endsWith(String) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined String ends with the specified String.
equalTo(T) - Static method in class org.hamcrest.core.IsEqual
Creates a matcher that matches when the examined object is logically equal to the specified operand, as determined by calling the Object.equals(java.lang.Object) method on the examined object.
equalTo(T) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches when the examined object is logically equal to the specified operand, as determined by calling the Object.equals(java.lang.Object) method on the examined object.
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
 
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
Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields items that are all matched by the specified itemMatcher.
everyItem(Matcher<U>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields items that are all matched by the specified itemMatcher.
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(T) - Method in class org.hamcrest.FeatureMatcher
Implement this to extract the interesting feature.
findExpectedType(Class<?>) - Method in class org.hamcrest.internal.ReflectiveTypeFinder
 

H

hasItem(Matcher<? super T>) - Static method in class org.hamcrest.core.IsCollectionContaining
Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields at least one item that is matched by the specified itemMatcher.
hasItem(T) - Static method in class org.hamcrest.core.IsCollectionContaining
Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields at least one item that is equal to the specified item.
hasItem(T) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields at least one item that is equal to the specified item.
hasItem(Matcher<? super T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher for Iterables that only matches when a single pass over the examined Iterable yields at least one item that is matched by the specified itemMatcher.
hasItems(Matcher<? super T>...) - Static method in class org.hamcrest.core.IsCollectionContaining
Creates a matcher for Iterables that matches when consecutive passes over the examined Iterable yield at least one item that is matched by the corresponding matcher from the specified itemMatchers.
hasItems(T...) - Static method in class org.hamcrest.core.IsCollectionContaining
Creates a matcher for Iterables that matches when consecutive passes over the examined Iterable yield at least one item that is equal to the corresponding item from the specified items.
hasItems(T...) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher for Iterables that matches when consecutive passes over the examined Iterable yield at least one item that is equal to the corresponding item from the specified items.
hasItems(Matcher<? super T>...) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher for Iterables that matches when consecutive passes over the examined Iterable yield at least one item that is matched by the corresponding matcher from the specified itemMatchers.
hasNext() - Method in class org.hamcrest.internal.ArrayIterator
 
hasNext() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 

I

instanceOf(Class<?>) - Static method in class org.hamcrest.core.IsInstanceOf
Creates a matcher that matches when the examined object is an instance of the specified type, as determined by calling the Class.isInstance(Object) method on that type, passing the the examined object.
instanceOf(Class<?>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches when the examined object is an instance of the specified type, as determined by calling the Class.isInstance(Object) method on that type, passing the the examined object.
Is<T> - Class in org.hamcrest.core
Decorates another Matcher, retaining the behaviour 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 its behaviour, but allowing tests to be slightly more expressive.
is(T) - Static method in class org.hamcrest.core.Is
A shortcut to the frequently used is(equalTo(x)).
is(Class<T>) - Static method in class org.hamcrest.core.Is
Deprecated. use isA(Class type) instead.
is(T) - Static method in class org.hamcrest.CoreMatchers
A shortcut to the frequently used is(equalTo(x)).
is(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
Decorates another Matcher, retaining its behaviour, but allowing tests to be slightly more expressive.
is(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Deprecated. use isA(Class type) instead.
isA(Class<T>) - Static method in class org.hamcrest.core.Is
A shortcut to the frequently used is(instanceOf(SomeClass.class)).
isA(Class<T>) - Static method in class org.hamcrest.CoreMatchers
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
 
IsCollectionContaining<T> - Class in org.hamcrest.core
 
IsCollectionContaining(Matcher<? super T>) - Constructor for class org.hamcrest.core.IsCollectionContaining
 
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
 
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
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
 
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
 

M

matched(T, Description) - Static method in class org.hamcrest.Condition
 
Matcher<T> - Interface in org.hamcrest
A matcher over acceptable values.
MatcherAssert - Class in org.hamcrest
 
MatcherAssert() - Constructor for class org.hamcrest.MatcherAssert
 
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.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.TypeSafeDiagnosingMatcher
 
matches(Object) - Method in class org.hamcrest.TypeSafeMatcher
Methods made final to prevent accidental override.
matchesSafely(T, Description) - Method in class org.hamcrest.core.CombinableMatcher
 
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(T, Description) - Method in class org.hamcrest.TypeSafeDiagnosingMatcher
Subclasses should implement this.
matchesSafely(T) - Method in class org.hamcrest.TypeSafeMatcher
Subclasses should implement this.
matching(Matcher<T>, String) - Method in class org.hamcrest.Condition
 
matching(Matcher<T>) - Method in class org.hamcrest.Condition
 

N

next() - Method in class org.hamcrest.internal.ArrayIterator
 
next() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 
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
Creates a matcher that wraps an existing matcher, but inverts the logic by which it will match.
not(T) - Static method in class org.hamcrest.core.IsNot
A shortcut to the frequently used not(equalTo(x)).
not(Matcher<T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that wraps an existing matcher, but inverts the logic by which it will match.
not(T) - Static method in class org.hamcrest.CoreMatchers
A shortcut to the frequently used not(equalTo(x)).
NOT_MATCHED - Static variable in class org.hamcrest.Condition
 
notMatched() - Static method in class org.hamcrest.Condition
 
notNullValue() - Static method in class org.hamcrest.core.IsNull
A shortcut to the frequently used not(nullValue()).
notNullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
A shortcut to the frequently used not(nullValue(X.class)).
notNullValue() - Static method in class org.hamcrest.CoreMatchers
A shortcut to the frequently used not(nullValue()).
notNullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
A shortcut to the frequently used not(nullValue(X.class)).
nullValue() - Static method in class org.hamcrest.core.IsNull
Creates a matcher that matches if examined object is null.
nullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull
Creates a matcher that matches if examined object is null.
nullValue() - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if examined object is null.
nullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if examined object is null.

O

or(Matcher<? super X>) - Method in class org.hamcrest.core.CombinableMatcher.CombinableEitherMatcher
 
or(Matcher<? super T>) - Method in class org.hamcrest.core.CombinableMatcher
 
org.hamcrest - package org.hamcrest
The stable API defining Matcher and its associated interfaces and classes.
org.hamcrest.core - package org.hamcrest.core
Fundamental matchers of objects and values, and composite matchers.
org.hamcrest.internal - package org.hamcrest.internal
 

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 matcher that matches only when the examined object is the same instance as the specified target object.
sameInstance(T) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches only when the examined object is the same instance as the specified target object.
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
Creates a matcher that matches if the examined String starts with the specified String.
startsWith(String) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches if the examined String starts with the specified String.
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
 
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
 
substring - Variable in class org.hamcrest.core.SubstringMatcher
 
SubstringMatcher - Class in org.hamcrest.core
 
SubstringMatcher(String) - Constructor for class org.hamcrest.core.SubstringMatcher
 

T

theInstance(T) - Static method in class org.hamcrest.core.IsSame
Creates a matcher that matches only when the examined object is the same instance as the specified target object.
theInstance(T) - Static method in class org.hamcrest.CoreMatchers
Creates a matcher that matches only when the examined object is the same instance as the specified target object.
then(Condition.Step<? super T, U>) - Method in class org.hamcrest.Condition
 
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.
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
Deprecated. 
_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in interface org.hamcrest.Matcher
Deprecated. to make

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