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

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

@return the created {@code ImmutableList}.

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