MCPcopy Create free account
hub / github.com/BaseXdb/basex / clear

Method clear

basex-core/src/main/java/org/basex/util/hash/ASet.java:44–47  ·  view source on GitHub ↗

Resets the data structure.

()

Source from the content-addressed store, hash-verified

42 * Resets the data structure.
43 */
44 protected void clear() {
45 Arrays.fill(buckets, 0);
46 size = 1;
47 }
48
49 /**
50 * Returns the number of entries.

Callers 1

noTargetsMethod · 0.45

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected