MCPcopy Index your code
hub / github.com/questdb/questdb / contains

Method contains

core/src/main/java/io/questdb/std/Chars.java:168–170  ·  view source on GitHub ↗
(@NotNull CharSequence sequence, @NotNull CharSequence term)

Source from the content-addressed store, hash-verified

166 }
167
168 public static boolean contains(@NotNull CharSequence sequence, @NotNull CharSequence term) {
169 return indexOf(sequence, 0, sequence.length(), term) != -1;
170 }
171
172 // Term has to be lower-case.
173 public static boolean containsLowerCase(@NotNull CharSequence sequence, @NotNull CharSequence termLC) {

Callers 15

assertContainsMethod · 0.95
assertContainsEitherMethod · 0.95
assertNotContainsMethod · 0.95
testConnectionLimitMethod · 0.95
startAlterTableThreadMethod · 0.95
startServerWithRetryMethod · 0.95
startAlterTableThreadMethod · 0.95
testAutoDeleteMethod · 0.95
testRollOnDateMethod · 0.95
setUpMethod · 0.95

Calls 2

indexOfMethod · 0.95
lengthMethod · 0.65

Tested by 15

assertContainsMethod · 0.76
assertContainsEitherMethod · 0.76
assertNotContainsMethod · 0.76
testConnectionLimitMethod · 0.76
startAlterTableThreadMethod · 0.76
startServerWithRetryMethod · 0.76
startAlterTableThreadMethod · 0.76
testAutoDeleteMethod · 0.76
testRollOnDateMethod · 0.76
setUpMethod · 0.76