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