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

A

AllOf<T> - Class in org.hamcrest.core
Calculates the logical conjunction of two matchers.
AllOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AllOf
 
allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AllOf
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends 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<? extends T>...) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? extends T>...) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
any(Class<T>) - Static method in class org.hamcrest.core.IsAnything
This matcher always evaluates to true.
any(Class<T>) - Static method in class org.hamcrest.CoreMatchers
This matcher always evaluates to true.
any(Class<T>) - Static method in class org.hamcrest.Matchers
This matcher always evaluates to true.
anyCharacter() - Static method in class org.hamcrest.text.pattern.Patterns
 
anyCharacterIn(String) - Static method in class org.hamcrest.text.pattern.Patterns
 
anyCharacterInCategory(String) - Static method in class org.hamcrest.text.pattern.Patterns
 
anyCharacterNotIn(String) - Static method in class org.hamcrest.text.pattern.Patterns
 
anyCharacterNotInCategory(String) - Static method in class org.hamcrest.text.pattern.Patterns
 
AnyOf<T> - Class in org.hamcrest.core
Calculates the logical disjunction of two matchers.
AnyOf(Iterable<Matcher<? extends T>>) - Constructor for class org.hamcrest.core.AnyOf
 
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.core.AnyOf
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends T>>) - Static method in class org.hamcrest.CoreMatchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? extends T>...) - Static method in class org.hamcrest.Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? extends 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.
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.
appendText(String) - Method in class org.hamcrest.BaseDescription
 
appendText(String) - Method in interface org.hamcrest.Description
Appends some plain text to the description.
appendValue(Object) - Method in class org.hamcrest.BaseDescription
 
appendValue(Object) - Method in interface org.hamcrest.Description
Appends an arbitary value to the description.
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.
array(Matcher<T>...) - Static method in class org.hamcrest.collection.IsArray
 
ArrayIterator - Class in org.hamcrest.internal
 
ArrayIterator(Object) - Constructor for class org.hamcrest.internal.ArrayIterator
 
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
 
buildRegex(StringBuilder, GroupNamespace) - Method in class org.hamcrest.text.pattern.Field
 
buildRegex(StringBuilder, GroupNamespace) - Method in class org.hamcrest.text.pattern.FromTo
 
buildRegex(StringBuilder, GroupNamespace) - Method in interface org.hamcrest.text.pattern.PatternComponent
 
buildRegex(StringBuilder, GroupNamespace) - Method in class org.hamcrest.text.pattern.PatternMatcher
 

C

closeTo(double, double) - Static method in class org.hamcrest.Matchers
 
closeTo(double, double) - Static method in class org.hamcrest.number.IsCloseTo
 
containsString(String) - Static method in class org.hamcrest.Matchers
 
containsString(String) - Static method in class org.hamcrest.text.StringContains
 
CoreMatchers - Class in org.hamcrest
 
CoreMatchers() - Constructor for class org.hamcrest.CoreMatchers
 

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
Wraps an existing matcher and overrides the description when it fails.
describedAs(String, Matcher<T>, Object...) - Static method in class org.hamcrest.Matchers
Wraps an existing matcher and overrides the description when it fails.
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.collection.IsArray
 
describeTo(Description) - Method in class org.hamcrest.collection.IsArrayContaining
 
describeTo(Description) - Method in class org.hamcrest.collection.IsCollectionContaining
 
describeTo(Description) - Method in class org.hamcrest.collection.IsIn
 
describeTo(Description) - Method in class org.hamcrest.collection.IsMapContaining
 
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.DescribedAs
 
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.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.internal.SelfDescribingValue
 
describeTo(Description) - Method in class org.hamcrest.number.IsCloseTo
 
describeTo(Description) - Method in class org.hamcrest.number.IsGreaterThan
 
describeTo(Description) - Method in class org.hamcrest.object.HasToString
 
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.IsEqualIgnoringCase
 
describeTo(Description) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
describeTo(Description) - Method in class org.hamcrest.text.pattern.PatternMatcher
 
describeTo(Description) - Method in class org.hamcrest.text.SubstringMatcher
 
describeTo(Description) - Method in class org.hamcrest.xml.HasXPath
 
Description - Interface in org.hamcrest
A description of a Matcher.
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.

E

either(Object...) - Static method in class org.hamcrest.text.pattern.Patterns
 
endsWith(String) - Static method in class org.hamcrest.Matchers
 
endsWith(String) - Static method in class org.hamcrest.text.StringEndsWith
 
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.text.StringContains
 
evalSubstringOf(String) - Method in class org.hamcrest.text.StringEndsWith
 
evalSubstringOf(String) - Method in class org.hamcrest.text.StringStartsWith
 
evalSubstringOf(String) - Method in class org.hamcrest.text.SubstringMatcher
 
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(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.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 .
exactly(int, Object) - Static method in class org.hamcrest.text.pattern.Patterns
 

F

Factory - Annotation Type in org.hamcrest
Marks a Hamcrest static factory method so tools recognise them.
Field - Class in org.hamcrest.text.pattern
 
Field(String, PatternComponent) - Constructor for class org.hamcrest.text.pattern.Field
 
from(int, int, Object) - Static method in class org.hamcrest.text.pattern.Patterns
 
FromTo - Class in org.hamcrest.text.pattern
 
FromTo(int, int, PatternComponent) - Constructor for class org.hamcrest.text.pattern.FromTo
 

G

get(String) - Method in class org.hamcrest.text.pattern.Parse
 
getName() - Method in class org.hamcrest.text.pattern.Field
 
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
 
greaterThan(T) - Static method in class org.hamcrest.number.OrderingComparisons
 
greaterThanOrEqualTo(T) - Static method in class org.hamcrest.Matchers
 
greaterThanOrEqualTo(T) - Static method in class org.hamcrest.number.OrderingComparisons
 
group(String, PatternComponent) - Static method in class org.hamcrest.text.pattern.Patterns
 

H

hasEntry(Matcher<K>, Matcher<V>) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasEntry(K, V) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasEntry(Matcher<K>, Matcher<V>) - Static method in class org.hamcrest.Matchers
 
hasEntry(K, V) - Static method in class org.hamcrest.Matchers
 
hasItem(Matcher<? extends T>) - Static method in class org.hamcrest.collection.IsCollectionContaining
 
hasItem(T) - Static method in class org.hamcrest.collection.IsCollectionContaining
 
hasItem(Matcher<? extends T>) - Static method in class org.hamcrest.Matchers
 
hasItem(T) - Static method in class org.hamcrest.Matchers
 
hasItemInArray(Matcher<T>) - Static method in class org.hamcrest.collection.IsArrayContaining
 
hasItemInArray(T) - Static method in class org.hamcrest.collection.IsArrayContaining
 
hasItemInArray(Matcher<T>) - Static method in class org.hamcrest.Matchers
 
hasItemInArray(T) - Static method in class org.hamcrest.Matchers
 
hasItems(Matcher<? extends T>...) - Static method in class org.hamcrest.collection.IsCollectionContaining
 
hasItems(T...) - Static method in class org.hamcrest.collection.IsCollectionContaining
 
hasItems(Matcher<? extends T>...) - Static method in class org.hamcrest.Matchers
 
hasItems(T...) - Static method in class org.hamcrest.Matchers
 
hasKey(Matcher<K>) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasKey(K) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasKey(Matcher<K>) - Static method in class org.hamcrest.Matchers
 
hasKey(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
 
hasToString(Matcher<String>) - Static method in class org.hamcrest.Matchers
 
HasToString<T> - Class in org.hamcrest.object
 
HasToString(Matcher<String>) - Constructor for class org.hamcrest.object.HasToString
 
hasToString(Matcher<String>) - Static method in class org.hamcrest.object.HasToString
 
hasValue(Matcher<V>) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasValue(V) - Static method in class org.hamcrest.collection.IsMapContaining
 
hasValue(Matcher<V>) - Static method in class org.hamcrest.Matchers
 
hasValue(V) - Static method in class org.hamcrest.Matchers
 
hasXPath(String, Matcher<String>) - Static method in class org.hamcrest.Matchers
 
hasXPath(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<String>) - Constructor for class org.hamcrest.xml.HasXPath
 
hasXPath(String, Matcher<String>) - Static method in class org.hamcrest.xml.HasXPath
 
hasXPath(String) - 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?
instanceOf(Class<?>) - Static method in class org.hamcrest.CoreMatchers
Is the value an instance of a particular type?
instanceOf(Class<?>) - Static method in class org.hamcrest.Matchers
Is the value an instance of a particular type?
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<?>) - 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<?>) - 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<?>) - 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
 
IsArray(Matcher<T>[]) - Constructor for class org.hamcrest.collection.IsArray
 
IsArrayContaining<T> - Class in org.hamcrest.collection
 
IsArrayContaining(Matcher<T>) - Constructor for class org.hamcrest.collection.IsArrayContaining
 
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.collection
 
IsCollectionContaining(Matcher<? extends T>) - Constructor for class org.hamcrest.collection.IsCollectionContaining
 
IsCompatibleType<T> - Class in org.hamcrest.object
 
IsCompatibleType(Class<T>) - Constructor for class org.hamcrest.object.IsCompatibleType
 
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
 
IsGreaterThan<T extends java.lang.Comparable<T>> - Class in org.hamcrest.number
Is the value less than or greater than another Comparable value?
IsGreaterThan(Comparable<T>) - Constructor for class org.hamcrest.number.IsGreaterThan
 
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
IsMapContaining<K,V> - Class in org.hamcrest.collection
 
IsMapContaining(Matcher<K>, Matcher<V>) - Constructor for class org.hamcrest.collection.IsMapContaining
 
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
 

L

lessThan(T) - Static method in class org.hamcrest.Matchers
 
lessThan(T) - Static method in class org.hamcrest.number.OrderingComparisons
 
lessThanOrEqualTo(T) - Static method in class org.hamcrest.Matchers
 
lessThanOrEqualTo(T) - Static method in class org.hamcrest.number.OrderingComparisons
 
listOf(Object) - Static method in class org.hamcrest.text.pattern.Patterns
 

M

main(String[]) - Static method in class org.hamcrest.text.X
 
Matcher<T> - Interface in org.hamcrest
A matcher over acceptable values.
Matchers - Class in org.hamcrest
 
Matchers() - Constructor for class org.hamcrest.Matchers
 
matches(Object) - Method in class org.hamcrest.collection.IsIn
 
matches(Object) - 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) - 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 interface org.hamcrest.Matcher
Evaluates the matcher for argument item.
matches(Object) - Method in class org.hamcrest.object.HasToString
 
matches(Object) - Method in class org.hamcrest.TypeSafeMatcher
Method made final to prevent accidental override.
matchesPattern(PatternComponent) - Static method in class org.hamcrest.text.pattern.PatternMatcher
 
matchesPattern(PatternMatcher) - Static method in class org.hamcrest.text.pattern.PatternMatcher
 
matchesSafely(T) - Method in class org.hamcrest.beans.HasProperty
 
matchesSafely(T) - Method in class org.hamcrest.beans.HasPropertyWithValue
 
matchesSafely(T[]) - Method in class org.hamcrest.collection.IsArray
 
matchesSafely(T[]) - Method in class org.hamcrest.collection.IsArrayContaining
 
matchesSafely(Iterable<T>) - Method in class org.hamcrest.collection.IsCollectionContaining
 
matchesSafely(Map<K, V>) - Method in class org.hamcrest.collection.IsMapContaining
 
matchesSafely(Double) - Method in class org.hamcrest.number.IsCloseTo
 
matchesSafely(T) - Method in class org.hamcrest.number.IsGreaterThan
 
matchesSafely(Class<?>) - Method in class org.hamcrest.object.IsCompatibleType
 
matchesSafely(EventObject) - 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.pattern.PatternMatcher
 
matchesSafely(String) - Method in class org.hamcrest.text.SubstringMatcher
 
matchesSafely(T) - Method in class org.hamcrest.TypeSafeMatcher
Subclasses should implement this.
matchesSafely(Node) - Method in class org.hamcrest.xml.HasXPath
 

N

next() - Method in class org.hamcrest.internal.ArrayIterator
 
next() - Method in class org.hamcrest.internal.SelfDescribingValueIterator
 
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() - Static method in class org.hamcrest.CoreMatchers
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.Matchers
Matches if value is null.
nullValue(Class<T>) - Static method in class org.hamcrest.Matchers
Matches if value is null.

O

oneOrMore(Object) - Static method in class org.hamcrest.text.pattern.Patterns
 
optional(Object) - Static method in class org.hamcrest.text.pattern.Patterns
 
OrderingComparisons - Class in org.hamcrest.number
 
OrderingComparisons() - Constructor for class org.hamcrest.number.OrderingComparisons
 
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.text.pattern - package org.hamcrest.text.pattern
 
org.hamcrest.xml - package org.hamcrest.xml
Matchers of XML documents.

P

Parse - Class in org.hamcrest.text.pattern
 
Parse(GroupNamespace, MatchResult) - Constructor for class org.hamcrest.text.pattern.Parse
 
parse(String) - Method in class org.hamcrest.text.pattern.PatternMatcher
 
PatternComponent - Interface in org.hamcrest.text.pattern
 
PatternMatcher - Class in org.hamcrest.text.pattern
 
PatternMatcher(PatternComponent) - Constructor for class org.hamcrest.text.pattern.PatternMatcher
 
PatternMatchException - Exception in org.hamcrest.text.pattern
 
PatternMatchException(String) - Constructor for exception org.hamcrest.text.pattern.PatternMatchException
 
PatternMatchException(String, Throwable) - Constructor for exception org.hamcrest.text.pattern.PatternMatchException
 
Patterns - Class in org.hamcrest.text.pattern
 
Patterns() - Constructor for class org.hamcrest.text.pattern.Patterns
 
PropertyUtil - Class in org.hamcrest.beans
Utility class for accessing properties on JavaBean objects.
PropertyUtil() - Constructor for class org.hamcrest.beans.PropertyUtil
 

R

relationship() - Method in class org.hamcrest.text.StringContains
 
relationship() - Method in class org.hamcrest.text.StringEndsWith
 
relationship() - Method in class org.hamcrest.text.StringStartsWith
 
relationship() - Method in class org.hamcrest.text.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
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
 
SeparablePatternComponent - Interface in org.hamcrest.text.pattern
 
separatedBy(Object) - Method in interface org.hamcrest.text.pattern.SeparablePatternComponent
 
sequence(Object...) - Static method in class org.hamcrest.text.pattern.Patterns
 
startsWith(String) - Static method in class org.hamcrest.Matchers
 
startsWith(String) - Static method in class org.hamcrest.text.StringStartsWith
 
StringContains - Class in org.hamcrest.text
Tests if the argument is a string that contains a substring.
StringContains(String) - Constructor for class org.hamcrest.text.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.text
Tests if the argument is a string that contains a substring.
StringEndsWith(String) - Constructor for class org.hamcrest.text.StringEndsWith
 
StringStartsWith - Class in org.hamcrest.text
Tests if the argument is a string that contains a substring.
StringStartsWith(String) - Constructor for class org.hamcrest.text.StringStartsWith
 
stripSpace(String) - Method in class org.hamcrest.text.IsEqualIgnoringWhiteSpace
 
substring - Variable in class org.hamcrest.text.SubstringMatcher
 
SubstringMatcher - Class in org.hamcrest.text
 
SubstringMatcher(String) - Constructor for class org.hamcrest.text.SubstringMatcher
 

T

text(String) - Static method in class org.hamcrest.text.pattern.Patterns
 
toPattern(Object) - Static method in class org.hamcrest.text.pattern.Patterns
 
toPatterns(Object...) - Static method in class org.hamcrest.text.pattern.Patterns
 
toString() - Method in class org.hamcrest.BaseMatcher
 
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.
toString() - Method in class org.hamcrest.text.pattern.PatternMatcher
 
typeCompatibleWith(Class<T>) - Static method in class org.hamcrest.Matchers
 
typeCompatibleWith(Class<T>) - Static method in class org.hamcrest.object.IsCompatibleType
 
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
 
TypeSafeMatcher(Class<T>) - Constructor for class org.hamcrest.TypeSafeMatcher
 

V

valueOf(String) - Static method in class org.hamcrest.text.pattern.Patterns
 

X

X - Class in org.hamcrest.text
 
X() - Constructor for class org.hamcrest.text.X
 

Z

zeroOrMore(Object) - Static method in class org.hamcrest.text.pattern.Patterns
 

_

_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in class org.hamcrest.BaseMatcher
 
_dont_implement_Matcher___instead_extend_BaseMatcher_() - Method in interface org.hamcrest.Matcher
This method simply acts a friendly reminder not to implement Matcher directly and instead extend BaseMatcher.

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