src/main/java/org/cornutum/hamcrest/CompositeUtils.java
/**
   * Returns an array that contains the members of the given Iterable.
   */
Returns an array that contains the members of the given Iterable.
Returns an array that contains the members of the given Iterable .
@SuppressWarnings("unchecked")
  public static <T> T[] toArray( Iterable<T> iterable)
    {
    return (T[]) streamFor( iterable).toArray();
    }
@ SuppressWarnings ( "unchecked" ) public static < T > T [ ] toArray ( Iterable < T > iterable ) { return ( T [ ] ) streamFor ( iterable ) . toArray ( ) ; }
Returns an array that contains the members of the given Iterable.
Returns an array that contains the members of the given Iterable .