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

Method appendFoldedClass

java/com/google/re2j/CharClass.java:175–180  ·  view source on GitHub ↗
(int[] x)

Source from the content-addressed store, hash-verified

173 // appendFoldedClass() appends the case folding of the class |x| to this
174 // CharClass. Does not mutate |x|.
175 CharClass appendFoldedClass(int[] x) {
176 for (int i = 0; i < x.length; i += 2) {
177 appendFoldedRange(x[i], x[i + 1]);
178 }
179 return this;
180 }
181
182 // appendNegatedClass() append the negation of the class |x| to this
183 // CharClass. It assumes |x| is clean. Does not mutate |x|.

Callers 2

testAppendFoldedClassMethod · 0.80
appendGroupMethod · 0.80

Calls 1

appendFoldedRangeMethod · 0.95

Tested by 1

testAppendFoldedClassMethod · 0.64