signature-class(methods)
signature-class()所属R语言包:methods
Class <code>"signature"</code> For Method Definitions
类的<code>“签名”</ code>的方法定义
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This class represents the mapping of some of the formal arguments of a function onto the corresponding classes. It is used for two slots in the MethodDefinition class.
这个类表示映射到相应的类的函数的形式参数。它可用于两个MethodDefinition类中的插槽。
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("signature", functionDef, ...). The functionDef argument, if it is supplied as a function object, defines the formal names. The other arguments define the classes. More typically, the objects are created as side effects of defining methods. Either way, note that the classes are expected to be well defined, usually because the corresponding class definitions exist. See the comment on the package slot.
创建对象可以通过电话的形式new("signature", functionDef, ...)。 functionDef参数,如果它是作为一个函数对象提供,定义的正式名称。其他参数定义的类。通常情况下,创建对象定义方法的副作用。无论哪种方式,注意类有望得到很好的定义,通常是因为存在相应的类定义。参见package插槽评论。
插槽----------Slots----------
.Data: Object of class "character" the class names.
.Data类"character"类名对象。
names: Object of class "character" the
names类"character":对象
package: Object of class "character" the names of the packages corresponding to the class names. The combination of class name and package uniquely defines the class. In principle, the same class name could appear in more than one package, in which case the package information
package类"character"包对应的类名的名称的对象。独特的类名和包的组合定义的类。原则,同一类的名称可能出现在一包以上,在这种情况下,package信息
延伸----------Extends----------
Class "character", from data part. Class "vector", by class "character".
类"character",从数据的一部分。类"vector",“字符类”。
方法----------Methods----------
initialize signature(object = "signature"): see the
初始化signature(object = "signature"):见
参见----------See Also----------
class MethodDefinition for the use of this class.
类MethodDefinition使用这个类。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|