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

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

@return the created {@code ImmutableSet}.

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