Learn R Programming

r2r (version 0.1.1)

keys: List all keys from an hash table

Description

These generics are used for listing all keys registered in an hashset or hashmap, respectively.

Usage

keys(x)

# S3 method for r2r_hashtable keys(x)

Arguments

x

an hashset or hashmap.

Value

a list. Registered keys in the hash table x.

Examples

Run this code
# NOT RUN {
s <- hashset(1, 2, 3)
keys(s)
# }

Run the code above in your browser using DataLab