MCPcopy Create free account
hub / github.com/ReadyTalk/avian / toLowerCase

Method toLowerCase

classpath/java/lang/String.java:256–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254 }
255
256 public String toLowerCase() {
257 for (int j = 0; j < length; ++j) {
258 char ch = charAt(j);
259 if (Character.toLowerCase(ch) != ch) {
260 char[] b = new char[length];
261 for (int i = 0; i < length; ++i) {
262 b[i] = Character.toLowerCase(charAt(i));
263 }
264 return new String(b, 0, length, false);
265 }
266 }
267 return this;
268 }
269
270 public String toUpperCase() {
271 for (int j = 0; j < length; ++j) {

Callers

nothing calls this directly

Calls 2

charAtMethod · 0.95
toLowerCaseMethod · 0.95

Tested by

no test coverage detected