values: List all values from an hash map

Description Usage Arguments Value Author(s) Examples

View source: R/generics.R

Description

This function is used to list all values associated to keys in an hashmap. Implemented as a generic, but currently only the hashmap method is defined.

Usage

1
2
3
4
values(x)

## S3 method for class 'r2r_hashmap'
values(x)

Arguments

x

an hashset or hashmap.

Value

a list. Values associated to keys in the hash map x.

Author(s)

Valerio Gherardi

Examples

1
2
m <- hashmap(list("a", 1), list("b", 2))
values(m)

r2r documentation built on July 6, 2021, 5:12 p.m.