List-class: A class inherited directly from envRefClass
Description
A class inherited directly from envRefClass
Fields
data- list, a base::list
Methods
popmany(x)- Pop many by indexes.
popone(x, warn = TRUE, error = TRUE)- Pop the one at the given index/position (or name) in the list, and return it. If no index is specified, obj$popone() removes and returns the last one in the list.
removeone(x)- Remove the first matched element whose value is x. Display an error if it does not exist.