public static < T > Set < T > immutableSetConvert ( Collection < ? extends T > collection ) { return immutableSetWrap ( new HashSet < T > ( collection ) ) ; }
Converts a Collections into an immutable Set by copying it .