Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for SmallCharMatcher (0.19 seconds)

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

          default:
            return isSmall(totalCharacters, table.length())
                ? SmallCharMatcher.from(table, description)
                : new BitSetMatcher(table, description);
        }
      }
    
      @GwtIncompatible // SmallCharMatcher
      private static boolean isSmall(int totalCharacters, int tableLength) {
        return totalCharacters <= SmallCharMatcher.MAX_SIZE
            && tableLength > (totalCharacters * 4 * Character.SIZE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/CharMatcher.java

          default:
            return isSmall(totalCharacters, table.length())
                ? SmallCharMatcher.from(table, description)
                : new BitSetMatcher(table, description);
        }
      }
    
      @GwtIncompatible // SmallCharMatcher
      private static boolean isSmall(int totalCharacters, int tableLength) {
        return totalCharacters <= SmallCharMatcher.MAX_SIZE
            && tableLength > (totalCharacters * 4 * Character.SIZE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      @GwtIncompatible // java.util.Random, java.util.BitSet
      public void testSmallCharMatcher() {
        CharMatcher len1 = SmallCharMatcher.from(bitSet("#"), "#");
        CharMatcher len2 = SmallCharMatcher.from(bitSet("ab"), "ab");
        CharMatcher len3 = SmallCharMatcher.from(bitSet("abc"), "abc");
        CharMatcher len4 = SmallCharMatcher.from(bitSet("abcd"), "abcd");
        assertTrue(len1.matches('#'));
        assertFalse(len1.matches('!'));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
Back to Top