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

Method isSmall

output/java_guava/1.4.13/CharMatcher.java:610–615  ·  view source on GitHub ↗
(int totalCharacters, int tableLength)

Source from the content-addressed store, hash-verified

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

Callers 1

precomputedPositiveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected