MCPcopy Create free account
hub / github.com/douchuan/algorithm / len

Method len

src/strings/tries.rs:65–67  ·  view source on GitHub ↗

Returns the number of key-value pairs in this symbol table.

(&self)

Source from the content-addressed store, hash-verified

63impl<T> TrieST<T> {
64 /// Returns the number of key-value pairs in this symbol table.
65 pub fn len(&self) -> usize {
66 self.n
67 }
68
69 /// Is this symbol table empty
70 pub fn is_empty(&self) -> bool {

Callers 5

put_dthMethod · 0.45
delete_dthMethod · 0.45
get_dthFunction · 0.45
collect_matchFunction · 0.45
longest_prefix_of_dthFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected