Array Reference
qooxdoo does have some classes concerning array’s. Some of them are special wrappers and others are extensions. Here is a list of all classes which have something to do with arrays in qooxdoo.
- qx.data.Array (API): The data array is a special array used in the data binding context of qooxdoo. It does not extend the native array of JavaScript but its a wrapper for it. All the native methods are included in the implementation and it also fires events if the content or the length of the array changes in any way. Also the .length property is available on the array.
- qx.type.BaseArray (API): This class is the common superclass for all array classes in qooxdoo. It supports all of the shiny 1.6 JavaScript array features like forEach and map. This class may be instantiated instead of the native Array if one wants to work with a feature-unified Array instead of the native one. This class uses native features whereever possible but fills all missing implementations with custom ones.
- qx.type.Array (API): An extended array class which adds a lot of often used convenience methods to the regular array like ‘remove’ or ‘contains’.
- qx.lang.Array (API): Static helper functions for arrays with a lot of often used convenience methods like ‘remove’ or ‘contains’.
- qx.lang.Core (API): Adds some methods to array to lift every browser to the same level. The methods are:
- indexOf
- lastIndexOf
- forEach
- filter
- map
- some
- every
- qx.lang.Generics (API): Support string/array generics as introduced with JavaScript 1.6 for all browsers.
- join
- reverse
- sort
- push
- pop
- shift
- unshift
- splice
- concat
- slice
- indexOf
- lastIndexOf
- forEach
- map
- filter
- some
- every
