- 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
-
- 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
-
- containsElementsMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
-
- 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
-
- containsEntriesMatching(Function<V, Matcher<V>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
-
- containsEntriesMatching(Function<K, Matcher<K>>, Function<V, Matcher<V>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
-
- 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
-
- 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
-
- listsMatching(Function<T, Matcher<T>>) - Static method in class org.cornutum.hamcrest.BaseCompositeMatcher
-
- 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
-
- valueOf(String, Function<T, R>) - Method in class org.cornutum.hamcrest.BaseCompositeMatcher
-
- 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
-
- 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
-