src/main/java/org/cornutum/hamcrest/Composites.java
/**
   * Returns a Matcher for an Iterator that visits the given collection of members in any order.
   */
Returns a Matcher for an Iterator that visits the given collection of members in any order.
Returns a Matcher for an Iterator that visits the given collection of members in any order .
@SafeVarargs
  public static <T> Matcher<Iterator<T>> visitsMembers( T... expected)
    {
    return new VisitsMembers<T>( Arrays.asList( expected).iterator());
    }
@ SafeVarargs public static < T > Matcher < Iterator < T > > visitsMembers ( T ... expected ) { return new VisitsMembers < T > ( Arrays . asList ( expected ) . iterator ( ) ) ; }
Returns a Matcher for an Iterator that visits the given collection of members in any order.
Returns a Matcher for an Iterator that visits the given collection of members in any order .