iterable.js
来自「Browser independent JavaScript SDK. Clas」· JavaScript 代码 · 共 34 行
JS
34 行
/**
* @fileOverview <code>jsx.collections.Iterable</code> is an Interface class. Defines the method used to iterate over the collection.
* @example
<pre>
class MyIterable implements Iterable
</pre>
*/
/**
* @class Iterable
*/ jsx.collections.Iterable = function(){this.initialize.apply(this, arguments);}
/** @ignore */ jsx.collections.Iterable.prototype.initialize = function(){}
/**
* Iterate over the collection of elements.
* @param {Function} _block The function to execute for every element in the collection.
*/
jsx.collections.Iterable.prototype.iterator = function(_block){throw 'Iterable.iterator is abstract';}
jsx.collections.Iterable.PACKAGE = "jsx.collections";jsx.collections.Iterable.CLASS = "jsx.collections.Iterable";jsx.collections.Iterable.SUPER_CLASS = "";jsx.collections.Iterable.IMPORTS = [];jsx.collections.Iterable.INTERFACES = [];jsx.collections.Iterable.MIXINS = [];jsx.collections.Iterable.getName = function(){return jsx.collections.Iterable.CLASS;}jsx.collections.Iterable.klass = new jsx.lang.Class(jsx.collections.Iterable.getName());jsx.collections.Iterable.prototype.getClass = function(){return jsx.collections.Iterable.klass;}jsx.collections.Iterable.WARNINGS = [];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?