code: public boolean contentEquals(CharSequence a) {
          if (a == null || a.length() != length()) {
              return false;
          }
          if (a.getClass() == AsciiString.class) {
              return equals(a);
          }
  
          for (int i = arrayOffset(), j = 0; j < a.length(); ++i, ++j) {
              if (b2c(value[i]) != a.charAt(j)) {
                  return false;
              }
          }
          return true;
      }
docs: Compares a {@code CharSequence} to this {@code String} to determine if their contents are equal.
  
  @param a the character sequence to compare to.
  @return {@code true} if equal, otherwise {@code false}