Utility-class(Streamer)
Utility-class()所属R语言包:Streamer
Class "Utility"
类“实用”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A virtual class containing components that are required to create light weight Consumer classes that process data from other Producer or Consumer classes. Users can inherit from the Utility-class to create their own Consumer-classes that performs some operation on the records passed down from a class upstream. The classes RawToChar and Rev implemented in the Streamer-package derive from the Utility-class.
虚拟类包含所需要的组件创建,重量轻Consumer类Producer或Consumer类的过程数据。用户可以从Utility的类来创建自己的Consumer类执行一些操作上的记录,通过从上游向下一类的继承。类RawToChar和Rev在Streamer包Utility-类派生实施。
领域----------Fields----------
The Utility class inherits the fields verbose, inUse and yieldSize fields from the Streamer class. Please refer to the Streamer class for more details.
Utility类继承领域verbose,inUse和yieldSizeStreamer类领域。更多详细信息,请参阅Streamer类。
The Utility class inherits the fields inputPipe, and .records from the Consumer class. Please refer to the Consumer-class class for more details.
Utility类继承的领域inputPipe,.recordsConsumer类。更多详细信息,请参阅Consumer-class类。
基于类的方法----------Class-Based Methods----------
The ConnectionProducer class inherits the methods initialize, msg, reset, status and yield from the Streamer virtual class. Please refer to the Streamer class for more details.
ConnectionProducer类继承的方法initialize,msg,reset,status和yieldStreamer虚拟类。更多详细信息,请参阅Streamer类。
Derived classes should implement an appropriate yield method to return the contents of the current stream. The default method for the base virtual Streamer class returns a list()
派生类应实施适当的yield方法返回当前流中的内容。为碱基的默认方法虚拟Streamer类返回一个list(),
作者(S)----------Author(s)----------
Martin Morgan <a href="mtmorgan@fhcrc.org">mtmorgan@fhcrc.org</a>
参见----------See Also----------
Streamer-package, Consumer-class, Streamer-class.
Streamer-package,Consumer-class,Streamer-class。
举例----------Examples----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|