Displaying 1 result from an estimated 1 matches for "hput".
Did you mean:
hpet
2008 May 10
2
Hashes as S4 Classes, or: How to separate environments
...,
definition = function(object) ls(object at hash)
)
setGeneric("hclear", function(object) standardGeneric("hclear"))
setMethod("hclear", signature(object="Dict"),
function(object) rm(list=ls(object at hash), envir=object at hash)
)
setGeneric("hput", function(object, key, value) standardGeneric("hput"))
setMethod("hput", signature(object="Dict", key="character", value="ANY"),
function(object, key, value) assign(key, value, envir=object at hash)
)
setGeneric("hget", function...