Indexes
A collection of indexes.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Index add( Object withProperties )
Creates a new Index.
Parameters
Number count()
Displays the number of elements in the Index.
Index item( Mixed index )
Returns the Index with the specified index or name.
Parameters
Index itemByName( String name )
Returns the Index with the specified name.
Parameters
Index itemByID( Number id )
Returns the Index with the specified ID.
Parameters
Index itemByRange( Mixed from, Mixed to )
Returns the Indexes within the specified range.
Parameters
Index firstItem()
Returns the first Index in the collection.
Index lastItem()
Returns the last Index in the collection.
Index middleItem()
Returns the middle Index in the collection.
Index previousItem( Index obj )
Returns the Index with the index previous to the specified index.
Parameters
Index nextItem( Index obj )
Returns the Index whose index follows the specified Index in the collection.
Parameters
Index anyItem()
Returns any Index in the collection.
Index everyItem()
Returns every Index in the collection.
String toSource()
Generates a string which, if executed, will return the Index.
Index []( Number index )
Returns the Index with the specified index.