length.r2r_hashtable {r2r} | R Documentation |
Size of hash tables
Description
Returns the total number of keys in an hash table.
Usage
## S3 method for class 'r2r_hashtable'
length(x)
Arguments
x |
an |
Value
an integer. Number of keys in the hash table (or elements in a set).
Author(s)
Valerio Gherardi
Examples
s <- hashset()
insert(s, "foo")
length(s)
[Package r2r version 0.1.1 Index]