src/main/java/org/cornutum/hamcrest/Composites.java
/**
   * 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.
   */
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.
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 .
@SafeVarargs
  public static <T> Matcher<Iterator<T>> visitsList( Function<T,Matcher<T>> memberMatcherSupplier, T... expected)
    {
    return new VisitsList<T>( Arrays.asList( expected).iterator(), memberMatcherSupplier);
    }
@ SafeVarargs public static < T > Matcher < Iterator < T > > visitsList ( Function < T , Matcher < T > > memberMatcherSupplier , T ... expected ) { return new VisitsList < T > ( Arrays . asList ( expected ) . iterator ( ) , memberMatcherSupplier ) ; }
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.
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 .