Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toCodePoint (0.09 sec)

  1. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
          UnicodeEscaper escaper, String expected, char hi, char lo) {
    
        int cp = Character.toCodePoint(hi, lo);
        String escaped = computeReplacement(escaper, cp);
        Assert.assertNotNull(escaped);
        Assert.assertEquals(expected, escaped);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
          UnicodeEscaper escaper, String expected, char hi, char lo) {
    
        int cp = Character.toCodePoint(hi, lo);
        String escaped = computeReplacement(escaper, cp);
        Assert.assertNotNull(escaped);
        Assert.assertEquals(expected, escaped);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/UnicodeEscaper.java

              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
                    + "' with value "
                    + (int) c2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
Back to top