MCPcopy Create free account
hub / github.com/questdb/questdb / put

Method put

core/src/main/java/io/questdb/std/IntIntHashMap.java:62–64  ·  view source on GitHub ↗
(int key, int value)

Source from the content-addressed store, hash-verified

60 }
61
62 public void put(int key, int value) {
63 putAt(keyIndex(key), key, value);
64 }
65
66 public void putAll(IntIntHashMap other) {
67 int[] otherKeys = other.keys;

Callers 6

testBasicFetchIPv4Method · 0.95
testAllMethod · 0.95
putAllMethod · 0.95

Calls 2

putAtMethod · 0.95
keyIndexMethod · 0.45

Tested by 4

testBasicFetchIPv4Method · 0.76
testAllMethod · 0.76