src/org/kocakosm/pitaya/collection/ImmutableBag.java
public static <E> Bag<E> of(E... values)
	{
		return new ImmutableBag<E>(new ArrayBag<E>(values));
	}
public static <E> Bag<E> of(E... values)
	{
		return new ImmutableBag<E>(new ArrayBag<E>(values));
	}
public static < E > Bag < E > of ( E ... values ) { return new ImmutableBag < E > ( new ArrayBag < E > ( values ) ) ; }
Creates a new {@code ImmutableBag} containing the given elements.

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

@return the created {@code ImmutableBag}.

@throws NullPointerException if {@code values} is {@code null}.
Creates a new { @code ImmutableBag } containing the given elements .