hashmap: Create a new 'hashmap'

Description Usage Arguments Value

View source: R/ds_map_hashmap.R

Description

Instantiates a new hashmap object, i.e. an unordered collection of key-value pairs with mapping

f: keys -> values

, where only unique key-value pairs can be stored.

Usage

1
2
hashmap(key.class = c("character", "numeric", "integer"),
  value.class = c("character", "numeric", "integer"))

Arguments

key.class

the primitive class type of the keys

value.class

the primitive class type of the values

Value

returns a new hashmap object


datastructures documentation built on March 18, 2018, 1:55 p.m.