MCPcopy Create free account
hub / github.com/google/re2j / utf16

Method utf16

java/com/google/re2j/MatcherInput.java:24–26  ·  view source on GitHub ↗

Return the MatcherInput for UTF_16 encoding.

(CharSequence charSequence)

Source from the content-addressed store, hash-verified

22 * Return the MatcherInput for UTF_16 encoding.
23 */
24 static MatcherInput utf16(CharSequence charSequence) {
25 return new Utf16MatcherInput(charSequence);
26 }
27
28 /**
29 * Return the MatcherInput for UTF_8 encoding.

Callers 8

testFindEndMethod · 0.95
testReplaceAllMethod · 0.95
testReplaceFirstMethod · 0.95
testGroupMethod · 0.95
testFindMethod · 0.95
testFindNoMatchMethod · 0.95
resetMethod · 0.95
matchMethod · 0.95

Calls

no outgoing calls

Tested by 6

testFindEndMethod · 0.76
testReplaceAllMethod · 0.76
testReplaceFirstMethod · 0.76
testGroupMethod · 0.76
testFindMethod · 0.76
testFindNoMatchMethod · 0.76