Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isLowSurrogate (0.04 sec)

  1. android/guava/src/com/google/common/base/Strings.java

      static boolean validSurrogatePairAt(CharSequence string, int index) {
        return index >= 0
            && index <= (string.length() - 2)
            && Character.isHighSurrogate(string.charAt(index))
            && Character.isLowSurrogate(string.charAt(index + 1));
      }
    
      /**
       * Returns the given {@code template} string with each occurrence of {@code "%s"} replaced with
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            if (index == end) {
              return -c1;
            }
            // Otherwise look for the low surrogate following it
            char c2 = seq.charAt(index);
            if (Character.isLowSurrogate(c2)) {
              return Character.toCodePoint(c1, c2);
            }
            throw new IllegalArgumentException(
                "Expected low surrogate but got char '"
                    + c2
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/escape/UnicodeEscaper.java

            if (index == end) {
              return -c1;
            }
            // Otherwise look for the low surrogate following it
            char c2 = seq.charAt(index);
            if (Character.isLowSurrogate(c2)) {
              return Character.toCodePoint(c1, c2);
            }
            throw new IllegalArgumentException(
                "Expected low surrogate but got char '"
                    + c2
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top