src/org/kocakosm/pitaya/collection/ImmutableSet.java
public static <E> Set<E> copyOf(E[] values)
	{
		return new ImmutableSet<E>(new LinkedHashSet<E>(Arrays.asList(values)));
	}
public static <E> Set<E> copyOf(E[] values)
	{
		return new ImmutableSet<E>(new LinkedHashSet<E>(Arrays.asList(values)));
	}
Creates a new {@code ImmutableSet} containing the given elements.

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

@return the created {@code ImmutableSet}.

@throws NullPointerException if {@code values} is {@code null}.