code: @Deprecated
      public UnicodeSet addBridges(UnicodeSet dontCare) {
          UnicodeSet notInInput = new UnicodeSet(this).complement();
          for (UnicodeSetIterator it = new UnicodeSetIterator(notInInput); it.nextRange();) {
              if (it.codepoint != 0 && it.codepoint != UnicodeSetIterator.IS_STRING && it.codepointEnd != 0x10FFFF && dontCare.contains(it.codepoint,it.codepointEnd)) {
                  add(it.codepoint,it.codepointEnd);
              }
          }
          return this;
      }
docs: Simplify the ranges in a Unicode set by merging any ranges that are only separated by characters in the dontCare set.
  For example, the ranges: \\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFB\\u3000-\\u303E change to \\u2E80-\\u303E
  if the dontCare set includes unassigned characters (for a particular version of Unicode).
  @param dontCare Set with the don't-care characters for spanning
  @return the input set, modified
  @deprecated This API is ICU internal only.
  @hide original deprecated declaration
  @hide draft / provisional / internal are hidden on Android