MCPcopy Create free account
hub / github.com/apache/calcite / contains

Method contains

core/src/main/java/org/apache/calcite/util/NameSet.java:82–84  ·  view source on GitHub ↗

Returns whether this set contains the given name, with a given case-sensitivity.

(String name, boolean caseSensitive)

Source from the content-addressed store, hash-verified

80 /** Returns whether this set contains the given name, with a given
81 * case-sensitivity. */
82 public boolean contains(String name, boolean caseSensitive) {
83 return names.containsKey(name, caseSensitive);
84 }
85
86 /** Returns the contents as an iterable. */
87 public Iterable<String> iterable() {

Callers 1

testNameSetMethod · 0.95

Calls 1

containsKeyMethod · 0.45

Tested by 1

testNameSetMethod · 0.76