src/org/kocakosm/pitaya/collection/ImmutableList.java
public static <E> List<E> copyOf(Iterable<? extends E> i)
	{
		return new ImmutableList<E>(Iterables.toList(i));
	}
public static <E> List<E> copyOf(Iterable<? extends E> i)
	{
		return new ImmutableList<E>(Iterables.toList(i));
	}
public static < E > List < E > copyOf ( Iterable < ? extends E > i ) { return new ImmutableList < E > ( Iterables . toList ( i ) ) ; }
Creates a new {@code ImmutableList} from the given {@code Iterable}.

@param <E> the type of the {@code List}'s elements.
@param i the source {@code Iterable}.

@return the created {@code ImmutableList}.

@throws NullPointerException if {@code i} is {@code null}.
Creates a new { @code ImmutableList } from the given { @code Iterable } .