values {r2r}R Documentation

List all values from an hash map

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

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

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

[Package r2r version 0.1.1 Index]