Instantiates a new multimap object, i.e. an unordered collection of key-value pairs with mapping $$f: keys -> values$$, where multiple identical key-value paors can be stored.

multimap(key.class = c("character", "numeric", "integer"))

Arguments

key.class

the primitive class type of the keys

Value

returns a new multimap object

Examples

# creates a new multimap<character, SEXP> m <- multimap() # creates a new multimap<numeric, SEXP> m <- multimap("numeric") # creates a new multimap<character, SEXP> m <- multimap("integer")