Skip navigation links
A B C D E G L M O R S T V W 

A

apply(T[]) - Method in class org.cornutum.hamcrest.ContainsElements.Supplier
Returns the ContainsElements matcher supplied for the given source array.
apply(Map<K, V>) - Method in class org.cornutum.hamcrest.ContainsEntries.Supplier
Returns the ContainsEntries matcher supplied for the given source Map.
apply(S) - Method in class org.cornutum.hamcrest.ContainsMembers.Supplier
Returns the ContainsMembers matcher supplied for the given source Iterable.
apply(T[]) - Method in class org.cornutum.hamcrest.ListsElements.Supplier
Returns the ListsElements matcher supplied for the given source array.
apply(S) - Method in class org.cornutum.hamcrest.ListsMatching.Supplier
Returns the ListsMatching matcher supplied for the given source Iterable.
apply(S) - Method in class org.cornutum.hamcrest.ListsMembers.Supplier
Returns the ListsMembers matcher supplied for the given source Iterable.
apply(Map.Entry<K, V>) - Method in class org.cornutum.hamcrest.MapEntryMatcher.Supplier
Returns the MapEntryMatcher supplied for the given source Map.
apply(T) - Method in class org.cornutum.hamcrest.MatchesFunction.Supplier
Returns the MatchesFunction matcher supplied for the given source object.
apply(Iterator<T>) - Method in class org.cornutum.hamcrest.VisitsList.Supplier
Returns the VisitsList matcher supplied for the given source Iterator.
apply(Iterator<T>) - Method in class org.cornutum.hamcrest.VisitsMembers.Supplier
Returns the VisitsMembers matcher supplied for the given source Iterator.

B

BaseCompositeMatcher<T> - Class in org.cornutum.hamcrest
Base class for a Matcher that applies a sequence of Matchers to a single object.
BaseCompositeMatcher(T) - Constructor for class org.cornutum.hamcrest.BaseCompositeMatcher
Creates a new BaseCompositeMatcher instance.
Builder(T) - Constructor for class org.cornutum.hamcrest.MatchesFunction.Builder
Creates a new Builder to build a MatchesFunction matcher for the given source object.
byValueOf(String, Function<T, R>) - Method in class org.cornutum.hamcrest.MatchesFunction.Builder
Changes the function used by the MatchesFunction matcher.

C

ClassCompositeMatcher<T> - Class in org.cornutum.hamcrest
Base class for a composite matcher the verifies the expected type of a matched object.
ClassCompositeMatcher(Class<? extends T>, T) - Constructor for class org.cornutum.hamcrest.ClassCompositeMatcher
Creates a new ClassCompositeMatcher instance.
comparedTo(T) - Static method in class org.cornutum.hamcrest.Composites
Returns a new MatchesFunction.Builder for the given expected object.
Composites - Class in org.cornutum.hamcrest
Defines methods to create composite matchers.
CompositeUtils - Class in org.cornutum.hamcrest
Defines support methods for composite matchers.
containsElements(T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given collection of elements in any order.
containsElements(Function<T, Matcher<T>>, T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given collection of elements in any order, with an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected array.
containsElements(Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given collection of elements in any order.
containsElements(Function<T, Matcher<T>>, Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given collection of elements in any order, with an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected collection.
containsElements(Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given collection of elements in any order.
containsElements(Function<T, Matcher<T>>, Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given collection of elements in any order, with an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected collection.
ContainsElements<T> - Class in org.cornutum.hamcrest
Matches an array containing a specified collection of elements in any order.
ContainsElements(T[]) - Constructor for class org.cornutum.hamcrest.ContainsElements
Creates a new ContainsElements instance.
ContainsElements(T[], Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ContainsElements
Creates a new ContainsElements instance that adds an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected array.
ContainsElements.Supplier<T> - Class in org.cornutum.hamcrest
Builds and supplies a ContainsElements matcher for a specified source array.
containsElementsMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new ContainsElements.Supplier that supplies a ContainsElements matcher using the given element Matcher supplier.
containsEntries(Map<K, V>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for the expected Map.
containsEntries(Function<V, Matcher<V>>, Map<K, V>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for the expected Map, matching each entry with its expected counterpart using the value Matcher returned by the given supplier.
containsEntries(Function<K, Matcher<K>>, Function<V, Matcher<V>>, Map<K, V>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for the expected Map, matching each entry with its expected counterpart using the key and value Matchers returned by the given suppliers.
ContainsEntries<K,V> - Class in org.cornutum.hamcrest
Matches a Map containing a specified collection of entries.
ContainsEntries(Map<K, V>) - Constructor for class org.cornutum.hamcrest.ContainsEntries
Creates a new ContainsEntries instance.
ContainsEntries(Map<K, V>, Function<Map.Entry<K, V>, Matcher<Map.Entry<K, V>>>) - Constructor for class org.cornutum.hamcrest.ContainsEntries
Creates a new ContainsEntries instance that adds an additional match condition: each entry of a matched Map must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected Map.
ContainsEntries.Supplier<K,V> - Class in org.cornutum.hamcrest
Builds and supplies a ContainsEntries matcher for a specified source Map.
containsEntriesMatching(Function<V, Matcher<V>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new ContainsEntries.Supplier that supplies a ContainsEntries matcher that matches entries using the given value Matcher supplier.
containsEntriesMatching(Function<K, Matcher<K>>, Function<V, Matcher<V>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new ContainsEntries.Supplier that supplies a ContainsEntries matcher that matches entries using the given key and value Matcher suppliers.
containsMembers(Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given collection of members in any order.
containsMembers(Function<T, Matcher<T>>, Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given collection of members in any order, with an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected Iterable.
containsMembers(T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given collection of members in any order.
containsMembers(Function<T, Matcher<T>>, T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given collection of members in any order, with an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected Iterable.
containsMembers(Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given collection of members in any order.
containsMembers(Function<T, Matcher<T>>, Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given collection of members in any order, with an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected Iterable.
ContainsMembers<T> - Class in org.cornutum.hamcrest
Matches an Iterable containing a specified collection of members in any order.
ContainsMembers(Iterable<? extends T>) - Constructor for class org.cornutum.hamcrest.ContainsMembers
Creates a new ContainsMembers instance.
ContainsMembers(Iterable<? extends T>, Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ContainsMembers
Creates a new ContainsMembers instance that adds an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected Iterable.
ContainsMembers(String, Iterable<? extends T>, Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ContainsMembers
Creates a new ContainsMembers instance that adds an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected Iterable.
ContainsMembers.Supplier<T,S extends Iterable<T>> - Class in org.cornutum.hamcrest
Builds and supplies a ContainsMembers matcher for a specified source Iterable.
containsMembersMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new ContainsMembers.Supplier that supplies a ContainsMembers matcher using the given member Matcher supplier.

D

describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.ContainsElements
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.ContainsEntries
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.ContainsMembers
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.ListsElements
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.ListsMatching
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.ListsMembers
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.MatchesFunction
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.VisitsList
 
describeMismatch(Object, Description) - Method in class org.cornutum.hamcrest.VisitsMembers
 
describeTo(Description) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
 
describeTo(Description) - Method in class org.cornutum.hamcrest.ContainsElements
 
describeTo(Description) - Method in class org.cornutum.hamcrest.ContainsEntries
 
describeTo(Description) - Method in class org.cornutum.hamcrest.ContainsMembers
 
describeTo(Description) - Method in class org.cornutum.hamcrest.ListsElements
 
describeTo(Description) - Method in class org.cornutum.hamcrest.ListsMatching
 
describeTo(Description) - Method in class org.cornutum.hamcrest.ListsMembers
 
describeTo(Description) - Method in class org.cornutum.hamcrest.MatchesFunction
 
describeTo(Description) - Method in class org.cornutum.hamcrest.VisitsList
 
describeTo(Description) - Method in class org.cornutum.hamcrest.VisitsMembers
 
descriptionOf(Matcher<?>) - Static method in class org.cornutum.hamcrest.CompositeUtils
Returns a description of the given Matcher.

E

ExpectedFailure<T extends Throwable> - Class in org.cornutum.hamcrest
Reports a failure if an expected Throwable is not thrown by a given action.
ExpectedFailure(Class<T>) - Constructor for class org.cornutum.hamcrest.ExpectedFailure
Creates a new ExpectedFailure instance.
ExpectedFailure.Failable - Interface in org.cornutum.hamcrest
Implements an action that could throw any type of Throwable, including a checked exception.
expectFailure(Class<F>) - Static method in class org.cornutum.hamcrest.ExpectedFailure
Returns a new ExpectedFailure instance.
expectFailure() - Static method in class org.cornutum.hamcrest.ExpectedFailure
Returns a new ExpectedFailure instance that expects an AssertionError.
expectThat(Function<T, Matcher<? super T>>) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
Adds the Matcher supplied for the expected object to the matchers applied by this Matcher.
expectThat(String, Function<T, R>, Function<R, Matcher<R>>) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
Adds a MatchesFunction matcher for the expected object to the matchers applied by this Matcher.

G

get() - Method in interface org.cornutum.hamcrest.ExpectedFailure.Failable
 
getExpectedType() - Method in class org.cornutum.hamcrest.ClassCompositeMatcher
Returns the expected type for this matcher.
getFunctionName() - Method in class org.cornutum.hamcrest.MatchesFunction
Returns the function name for this matcher.
getTypeMismatch(Object) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
If the given object is incompatible with the expected type, returns a Matcher that describes the mismatch.
getTypeMismatch(Object) - Method in class org.cornutum.hamcrest.ClassCompositeMatcher
If the given object is incompatible with the expected type, returns a Matcher that describes the mismatch.

L

listsElements(T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given sequence of elements (in order).
listsElements(Function<T, Matcher<T>>, T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given sequence of elements (in order), with an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its counterpart in the given expected array.
listsElements(Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given sequence of elements (in order).
listsElements(Function<T, Matcher<T>>, Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given sequence of elements (in order), with an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its counterpart in the given expected sequence.
listsElements(Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given sequence of elements (in order).
listsElements(Function<T, Matcher<T>>, Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an array containing the given sequence of elements (in order), with an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its counterpart in the given expected sequence.
ListsElements<T> - Class in org.cornutum.hamcrest
Matches an array containing a specified sequence of elements (in order).
ListsElements(T[]) - Constructor for class org.cornutum.hamcrest.ListsElements
Creates a new ListsElements instance.
ListsElements(T[], Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ListsElements
Creates a new ListsElements instance that adds an additional match condition: each element of a matched array must satisfy the Matcher returned by the given supplier for its counterpart in the given expected array.
ListsElements.Supplier<T> - Class in org.cornutum.hamcrest
Builds and supplies a ListsElements matcher for a specified source array.
listsElementsMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new ListsElements.Supplier that supplies a ListsElements matcher using the given element Matcher supplier.
listsMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new ListsMatching.Supplier that supplies a ListsMatching matcher using the given member Matcher supplier.
listsMatching(Function<T, Matcher<T>>, Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order).
listsMatching(Function<T, Matcher<T>>, T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order).
listsMatching(Function<T, Matcher<T>>, Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order).
ListsMatching<T> - Class in org.cornutum.hamcrest
Matches an Iterable containing a specified sequence of members, in order.
ListsMatching(Iterable<? extends T>, Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ListsMatching
Creates a new ListsMatching instance.
ListsMatching.Supplier<T,S extends Iterable<T>> - Class in org.cornutum.hamcrest
Builds and supplies a ListsMatching matcher for a specified source Iterable.
listsMembers(Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order).
listsMembers(Function<T, Matcher<T>>, Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order), with an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its counterpart in the given expected Iterable.
listsMembers(T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order).
listsMembers(Function<T, Matcher<T>>, T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order), with an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its counterpart in the given expected Iterable.
listsMembers(Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order).
listsMembers(Function<T, Matcher<T>>, Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterable containing the given sequence of members (in order), with an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its counterpart in the given expected Iterable.
ListsMembers<T> - Class in org.cornutum.hamcrest
Matches an Iterable containing a specified sequence of members, in order.
ListsMembers(Iterable<? extends T>) - Constructor for class org.cornutum.hamcrest.ListsMembers
Creates a new ListsMembers instance.
ListsMembers(Iterable<? extends T>, Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ListsMembers
Creates a new ListsMembers instance that adds an additional match condition: each member of a matched Iterable must satisfy the Matcher returned by the given supplier for its counterpart in the given expected Iterable.
ListsMembers.Supplier<T,S extends Iterable<T>> - Class in org.cornutum.hamcrest
Builds and supplies a ListsMembers matcher for a specified source Iterable.
listsMembersMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new ListsMembers.Supplier that supplies a ListsMembers matcher using the given member Matcher supplier.

M

MapEntryMatcher<K,V> - Class in org.cornutum.hamcrest
A composite matcher for Map entries.
MapEntryMatcher(Map.Entry<K, V>, Function<K, Matcher<K>>, Function<V, Matcher<V>>) - Constructor for class org.cornutum.hamcrest.MapEntryMatcher
Creates a new MapEntryMatcher instance.
MapEntryMatcher.Supplier<K,V> - Class in org.cornutum.hamcrest
Builds and supplies a MapEntryMatcher matcher for a specified source entry.
matches(Object) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
 
matches(Function<T, Matcher<? super T>>) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
Decorates another Matcher supplier to provide a more expressive interface.
matches(Matcher<T>) - Static method in class org.cornutum.hamcrest.Composites
To create a more expressive reference, especially for a constructor expression, simply returns the given Matcher value.
matches(Object) - Method in class org.cornutum.hamcrest.ContainsElements
 
matches(Object) - Method in class org.cornutum.hamcrest.ContainsEntries
 
matches(Object) - Method in class org.cornutum.hamcrest.ContainsMembers
 
matches(Object) - Method in class org.cornutum.hamcrest.ListsElements
 
matches(Object) - Method in class org.cornutum.hamcrest.ListsMatching
 
matches(Object) - Method in class org.cornutum.hamcrest.ListsMembers
 
matches(Function<R, Matcher<R>>) - Method in class org.cornutum.hamcrest.MatchesFunction.Builder
Changes the result Matcher supplier function used by the MatchesFunction matcher and returns the specified MatchesFunction matcher.
matches(Object) - Method in class org.cornutum.hamcrest.MatchesFunction
 
matches(Function<R, Matcher<R>>) - Method in class org.cornutum.hamcrest.MatchesFunction.Supplier
Changes the result Matcher supplier function for the MatchesFunction matcher supplied.
matches(Object) - Method in class org.cornutum.hamcrest.VisitsList
 
matches(Object) - Method in class org.cornutum.hamcrest.VisitsMembers
 
matchesFunction(String, Function<T, R>, T, Function<R, Matcher<R>>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher that compares values of the given function, using a result Matcher returned by the given supplier.
MatchesFunction<T,R> - Class in org.cornutum.hamcrest
Applies a Matcher to compare values derived by a function.
MatchesFunction(String, Function<T, R>, T, Function<R, Matcher<R>>) - Constructor for class org.cornutum.hamcrest.MatchesFunction
Creates a new MatchesFunction instance.
MatchesFunction.Builder<T,R> - Class in org.cornutum.hamcrest
Defines a fluent interface for building a MatchesFunction matcher.
MatchesFunction.Supplier<T,R> - Class in org.cornutum.hamcrest
Builds and supplies a MatchesFunction matcher for a specified source object.
mismatchFor(Matcher<?>, Object) - Static method in class org.cornutum.hamcrest.CompositeUtils
Returns a description of the mismatch reported by the given Matcher for the given object.

O

org.cornutum.hamcrest - package org.cornutum.hamcrest
For more explanation of these classes, see the Overview.

R

run() - Method in interface org.cornutum.hamcrest.ExpectedFailure.Failable
 

S

setExpectedType(Class<? extends T>) - Method in class org.cornutum.hamcrest.ClassCompositeMatcher
Changes the expected type for this matcher.
streamFor(Iterable<T>) - Static method in class org.cornutum.hamcrest.CompositeUtils
Returns a Stream that traverses the members of the given Iterable.
Supplier(Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ContainsElements.Supplier
Creates a new ContainsElementsSupplier that supplies a ContainsElements matcher using the given element Matcher supplier.
Supplier(Function<V, Matcher<V>>) - Constructor for class org.cornutum.hamcrest.ContainsEntries.Supplier
Creates a new Supplier that supplies a ContainsEntries matcher that matches entries using the given value Matcher supplier.
Supplier(Function<K, Matcher<K>>, Function<V, Matcher<V>>) - Constructor for class org.cornutum.hamcrest.ContainsEntries.Supplier
Creates a new Supplier that supplies a ContainsEntries matcher that matches entries using the given key and value Matcher suppliers.
Supplier(Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ContainsMembers.Supplier
Creates a new Supplier that supplies a ContainsMembers matcher using the given member Matcher supplier.
Supplier(Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ListsElements.Supplier
Creates a new ListsElementsSupplier that supplies a ListsElements matcher using the given element Matcher supplier.
Supplier(Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ListsMatching.Supplier
Creates a new ListsMatchingSupplier that supplies a ListsMatching matcher using the given member Matcher supplier.
Supplier(Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.ListsMembers.Supplier
Creates a new ListsMembersSupplier that supplies a ListsMembers matcher using the given member Matcher supplier.
Supplier(Function<V, Matcher<V>>) - Constructor for class org.cornutum.hamcrest.MapEntryMatcher.Supplier
Creates a new Supplier that supplies a MapEntryMatcher using the given value Matcher supplier.
Supplier(Function<K, Matcher<K>>, Function<V, Matcher<V>>) - Constructor for class org.cornutum.hamcrest.MapEntryMatcher.Supplier
Creates a new Supplier that supplies a MapEntryMatcher using the given key and value Matcher suppliers.
Supplier(String, Function<T, R>) - Constructor for class org.cornutum.hamcrest.MatchesFunction.Supplier
Creates a new Supplier that supplies a MatchesFunction matcher using the given function.
Supplier(Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.VisitsList.Supplier
Creates a new VisitsListSupplier that supplies a VisitsList matcher using the given member Matcher supplier.
Supplier(Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.VisitsMembers.Supplier
Creates a new VisitsMembersSupplier that supplies a VisitsMembers matcher using the given member Matcher supplier.

T

then(Consumer<T>) - Method in class org.cornutum.hamcrest.ExpectedFailure
After performing an action, apply the given checker to verify details of the expected failure.
toArray(Iterable<T>) - Static method in class org.cornutum.hamcrest.CompositeUtils
Returns an array that contains the members of the given Iterable.
toString() - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
 
toString() - Method in class org.cornutum.hamcrest.ClassCompositeMatcher
 
toString() - Method in class org.cornutum.hamcrest.ContainsElements
 
toString() - Method in class org.cornutum.hamcrest.ContainsEntries
 
toString() - Method in class org.cornutum.hamcrest.ContainsMembers
 
toString() - Method in class org.cornutum.hamcrest.ExpectedFailure
 
toString() - Method in class org.cornutum.hamcrest.ListsElements
 
toString() - Method in class org.cornutum.hamcrest.ListsMatching
 
toString() - Method in class org.cornutum.hamcrest.ListsMembers
 
toString() - Method in class org.cornutum.hamcrest.MatchesFunction
 
toString() - Method in class org.cornutum.hamcrest.VisitsList
 
toString() - Method in class org.cornutum.hamcrest.VisitsMembers
 

V

valueOf(String, Function<T, R>) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new MatchesFunction.Supplier that supplies a MatchesFunction matcher using the given function.
visitsList(T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given sequence of members (in order).
visitsList(Function<T, Matcher<T>>, T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given sequence of members (in order), with an additional match condition: each member of a matched sequence must satisfy the Matcher returned by the given supplier for its counterpart in the given expected sequence.
visitsList(Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given sequence of members (in order).
visitsList(Function<T, Matcher<T>>, Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given sequence of members (in order), with an additional match condition: each member of a matched sequence must satisfy the Matcher returned by the given supplier for its counterpart in the given expected sequence.
visitsList(Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given sequence of members (in order).
visitsList(Function<T, Matcher<T>>, Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given sequence of members (in order), with an additional match condition: each member of a matched sequence must satisfy the Matcher returned by the given supplier for its counterpart in the given expected sequence.
VisitsList<T> - Class in org.cornutum.hamcrest
Matches an Iterator that visits a specified sequence of members (in order).
VisitsList(Iterator<T>) - Constructor for class org.cornutum.hamcrest.VisitsList
Creates a new VisitsList instance.
VisitsList(Iterator<T>, Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.VisitsList
Creates a new VisitsList instance that adds an additional match condition: each member of a matched sequence must satisfy the Matcher returned by the given supplier for its counterpart in the given expected sequence.
VisitsList.Supplier<T> - Class in org.cornutum.hamcrest
Builds and supplies a VisitsList matcher for a specified source Iterator.
visitsListMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new VisitsList.Supplier that supplies a VisitsList matcher using the given member Matcher supplier.
visitsMembers(T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given collection of members in any order.
visitsMembers(Function<T, Matcher<T>>, T...) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given collection of members in any order, with an additional match condition: each member of a matched collection must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected collection.
visitsMembers(Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given collection of members in any order.
visitsMembers(Function<T, Matcher<T>>, Iterable<? extends T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given collection of members in any order, with an additional match condition: each member of a matched collection must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected collection.
visitsMembers(Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given collection of members in any order.
visitsMembers(Function<T, Matcher<T>>, Iterator<T>) - Static method in class org.cornutum.hamcrest.Composites
Returns a Matcher for an Iterator that visits the given collection of members in any order, with an additional match condition: each member of a matched collection must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected collection.
VisitsMembers<T> - Class in org.cornutum.hamcrest
Matches an Iterator that visits a specified collection of members in any order.
VisitsMembers(Iterator<T>) - Constructor for class org.cornutum.hamcrest.VisitsMembers
Creates a new VisitsMembers instance.
VisitsMembers(Iterator<T>, Function<T, Matcher<T>>) - Constructor for class org.cornutum.hamcrest.VisitsMembers
Creates a new VisitsMembers instance that adds an additional match condition: each member of a matched collection must satisfy the Matcher returned by the given supplier for its equals-matching counterpart in the given expected collection.
VisitsMembers.Supplier<T> - Class in org.cornutum.hamcrest
Builds and supplies a VisitsMembers matcher for a specified source Iterator.
visitsMembersMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
Returns a new VisitsMembers.Supplier that supplies a VisitsMembers matcher using the given member Matcher supplier.

W

when(ExpectedFailure.Failable) - Method in class org.cornutum.hamcrest.ExpectedFailure
Throws an AssertionError if the expected Throwable is not thrown by the given action.
when(ExpectedFailure.Failable, Function<Throwable, Throwable>) - Method in class org.cornutum.hamcrest.ExpectedFailure
Throws an AssertionError if the expected Throwable is not thrown by the given action.
A B C D E G L M O R S T V W 
Skip navigation links

Copyright © 2022 The Cornutum Project. All rights reserved.