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

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

@return the created {@code ImmutableSet}.

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