Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for character (0.1 sec)

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

      /**
       * Asserts that an escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param c the character to test
       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
    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

      /**
       * Asserts that an escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param c the character to test
       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
    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. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          Character[] suffix = {(char) 86, (char) 99};
          Character[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/CharEscaper.java

      }
    
      /**
       * Returns the escaped form of the given character, or {@code null} if this character does not
       * need to be escaped. If an empty array is returned, this effectively strips the input character
       * from the resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
       * than a one-character array containing the character itself. This enables the escaping algorithm
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String[] BAD_STRINGS = {
          String.valueOf(Character.MIN_LOW_SURROGATE),
          Character.MIN_LOW_SURROGATE + "xyz",
          "abc" + Character.MIN_LOW_SURROGATE,
          "abc" + Character.MIN_LOW_SURROGATE + "xyz",
          String.valueOf(Character.MAX_LOW_SURROGATE),
          Character.MAX_LOW_SURROGATE + "xyz",
          "abc" + Character.MAX_LOW_SURROGATE,
          "abc" + Character.MAX_LOW_SURROGATE + "xyz",
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String[] BAD_STRINGS = {
          String.valueOf(Character.MIN_LOW_SURROGATE),
          Character.MIN_LOW_SURROGATE + "xyz",
          "abc" + Character.MIN_LOW_SURROGATE,
          "abc" + Character.MIN_LOW_SURROGATE + "xyz",
          String.valueOf(Character.MAX_LOW_SURROGATE),
          Character.MAX_LOW_SURROGATE + "xyz",
          "abc" + Character.MAX_LOW_SURROGATE,
          "abc" + Character.MAX_LOW_SURROGATE + "xyz",
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          new SparseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> transpose = transpose(original);
        transpose.put("foo", 1, 'a');
        assertEquals((Character) 'a', original.get(1, "foo"));
      }
    
      public void testTransposedViews() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> transpose = transpose(original);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       * @param unsafeReplacement the default replacement for unsafe characters or null if no default
       *     replacement is required
       */
      protected ArrayBasedUnicodeEscaper(
          Map<Character, String> replacementMap,
          int safeMin,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TablesTransformValuesTest extends AbstractTableTest<Character> {
    
      private static final Function<@Nullable String, @Nullable Character> FIRST_CHARACTER =
          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top