1. 首页
  2. 数据库
  3. 其它
  4. OOP WG:面向对象编程工作组的协作空间 源码

OOP WG:面向对象编程工作组的协作空间 源码

上传者: 2021-03-19 00:08:45上传 ZIP文件 60.79KB 热度 7次
面向对象编程工作组 (此存储库是R包) 这些想法已在此存储库中托管的R7包中实现。 类和对象 library( R7 ) range <- class_new( " range " , constructor = function ( start , end ) { object_new( start = start , end = end ) }, validator = function ( x ) { if ( x @ end < x @ start ) { " `end` must be greater than or equal to `start` " } }, properties = list ( start = " numeric " , end = " numeric " , proper
用户评论