public static final < T > void assign ( Set < T > source , Set < T > target ) { target . retainAll ( source ) ; target . addAll ( source ) ; }
Sets target content to be the same as source without clearing the target .