public @Nullable EqClass getOtherClass(int eqClassIndex) {
      if (myFirst == eqClassIndex) {
        return getSecond();
      }
      if (mySecond == eqClassIndex) {
        return getFirst();
      }
      return null;
    }
public @Nullable EqClass getOtherClass(int eqClassIndex)