public void add(int element) {
      for (int i = 0; i < size; i++) {
        if (reg[i] == element) {
          count[i]++;
          return;
        }
      }

      reg[size] = element;
      count[size] = 1;
      size++;
    }
Adds an element to the set.

@param element element to add
android/android_framework/dex-maker/src/main/java/com/android/dx/ssa/back/FirstFitLocalCombiningAllocator.java