- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SmallCharMatcher (0.37 seconds)
-
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) -
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) -
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)