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

Method isEither

corpus/java/training/guava/base/CharMatcher.java:1747–1749  ·  view source on GitHub ↗
(char c1, char c2)

Source from the content-addressed store, hash-verified

1745 }
1746
1747 private static CharMatcher.IsEither isEither(char c1, char c2) {
1748 return new CharMatcher.IsEither(c1, c2);
1749 }
1750
1751 /** Implementation of {@link #anyOf(CharSequence)} for exactly two characters. */
1752 private static final class IsEither extends FastMatcher {

Callers 2

anyOfMethod · 0.95
precomputedPositiveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected