powered by
getNodeType(.Object)## S3 method for class 'Node': getNodeType(.Object)
## S3 method for class 'Node': getNodeType(.Object)
world <- new("World") node <- new("Node", world, uri="http://www.example.com") nodeType <- getNodeType(node)
Run the code above in your browser using DataLab