public static < T > Collection < T > asImmutable ( Collection < T > self ) { return asUnmodifiable ( ( Collection < T > ) new ArrayList < T > ( self ) ) ; }
A convenience method for creating an immutable Collection .