MCPcopy
hub / github.com/questdb/questdb / toUpperCase

Method toUpperCase

core/src/main/java/io/questdb/std/Chars.java:1393–1400  ·  view source on GitHub ↗
(@Nullable CharSequence str, @NotNull CharSink<?> sink)

Source from the content-addressed store, hash-verified

1391 }
1392
1393 public static void toUpperCase(@Nullable CharSequence str, @NotNull CharSink<?> sink) {
1394 if (str != null) {
1395 final int len = str.length();
1396 for (int i = 0; i < len; i++) {
1397 sink.put(Character.toUpperCase(str.charAt(i)));
1398 }
1399 }
1400 }
1401
1402 public static void trim(TrimType type, CharSequence str, StringSink sink) {
1403 if (str == null) {

Calls 3

lengthMethod · 0.65
putMethod · 0.65
charAtMethod · 0.45