MCPcopy Create free account
hub / github.com/antlr/codebuff / isSmall

Method isSmall

output/java_guava/1.4.17/CharMatcher.java:612–617  ·  view source on GitHub ↗
(int totalCharacters, int tableLength)

Source from the content-addressed store, hash-verified

610 }
611
612 @GwtIncompatible // SmallCharMatcher
613 private static boolean isSmall(int totalCharacters, int tableLength) {
614 return totalCharacters <= SmallCharMatcher.MAX_SIZE
615 && tableLength > (totalCharacters * 4 * Character.SIZE);
616 // err on the side of BitSetMatcher
617 }
618
619 /**
620 * Sets bits in {@code table} matched by this matcher.

Callers 1

precomputedPositiveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected