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

Method contains

core/src/main/java/io/questdb/std/ObjHashSet.java:97–101  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

95 }
96
97 @SuppressWarnings("unchecked")
98 @Override
99 public boolean contains(Object o) {
100 return keyIndex((T) o) < 0;
101 }
102
103 public T get(int index) {
104 return list.getQuick(index);

Callers 3

testBasicOperationsMethod · 0.95
testRemoveMethod · 0.95
orderByDependentViewsMethod · 0.95

Calls 1

keyIndexMethod · 0.95

Tested by 2

testBasicOperationsMethod · 0.76
testRemoveMethod · 0.76