Class Index | File Index

Classes


Built-In Namespace Array

Method Summary
Method Attributes Method Name and Description
 
add(value)
Add 'value' in array
 
copy(array)
Copy the parameter array into this array.
 
indexOf(value)
Return the position of a value
 
insertAt(value, index)
Insert a 'value' at a specified index in array
 
remove(value)
Remove first 'value' found in array
Method Detail
add(value)
Add 'value' in array
Defined in: Array.js.
Parameters:
{String} value
Value to add.

copy(array)
Copy the parameter array into this array.
Defined in: Array.js.
Parameters:
array
source array.

{int} indexOf(value)
Return the position of a value
Defined in: Array.js.
Parameters:
{Object} value
the searched value
Returns:
the position of tis value if exist, else -1

{Array} insertAt(value, index)
Insert a 'value' at a specified index in array
Defined in: Array.js.
Parameters:
{String} value
Value to insert.
{int} index
The index where the value must be inserted
Returns:
the Array into which the insert has been processed.

{boolean} remove(value)
Remove first 'value' found in array
Defined in: Array.js.
Parameters:
{String} value
Value searched inside the array.
Returns:
True if found and removed, false else.

Documentation generated by JsDoc Toolkit 2.0.0 on Thu Dec 02 2010 15:18:53 GMT+0100 (CET)