public void putAll(RegisterSpecSet set) {
    int max = set.getMaxSize();

    for (int i = 0; i < max; i++) {
      RegisterSpec spec = set.get(i);
      if (spec != null) {
        put(spec);
      }
    }
  }
Put the entire contents of the given set into this one.

@param set {@code non-null;} the set to put into this instance
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/code/RegisterSpecSet.java