A class and a constructor function to create generic vector trait(let)s.
Arguments
- ...
Arguments that are passed to the initialize method of 'VectorClass'
Public fields
value
A list
class
A character string, the common class of the vector elements
Methods
Inherited methods
Method validator()
A function that checks the validity of an assigned value,
i.e. whether the assigned value is a list with all elements of the same class
Usage
VectorClass$validator(value)
Arguments
value
A value to be assigned as the traitlet value
Method new()
Arguments
class
String, optional common class
...
Arguments passed to the superclass initializer
Method clone()
The objects of this class are cloneable with this method.
Usage
VectorClass$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.