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

Method remove

core/src/main/java/io/questdb/std/IntHashSet.java:112–120  ·  view source on GitHub ↗
(int key)

Source from the content-addressed store, hash-verified

110 }
111
112 @Override
113 public int remove(int key) {
114 int keyIndex = keyIndex(key);
115 if (keyIndex < 0) {
116 removeAt(keyIndex);
117 return -keyIndex - 1;
118 }
119 return -1;
120 }
121
122 @Override
123 public void removeAt(int index) {

Callers 2

testRemoveMethod · 0.95

Calls 2

removeAtMethod · 0.95
keyIndexMethod · 0.45

Tested by 2

testRemoveMethod · 0.76