powered by
hashmap
These generics are used to get or set the default value of an hashmap, optionally returned upon query of a missing key.
default(x)default(x) <- value# S3 method for r2r_hashmap default(x)# S3 method for r2r_hashmap default(x) <- value
default(x) <- value
# S3 method for r2r_hashmap default(x)
# S3 method for r2r_hashmap default(x) <- value
an hashmap.
an arbitrary R object. Default value to be associated to missing keys in the hashmap.
an arbitrary R object.
For more details, see the hashtable documentation page.
# NOT RUN { m <- hashmap() default(m) default(m) <- 840 # }
Run the code above in your browser using DataLab