## Array

    Object
       |
       +--Array

SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods

Methods Summary
`boolean` | `contains(<Object> val)` check if an array passed as argument contains a specific value (start from end of array)
`int` | `indexOf(<Object> val)` Return the first index position of a value contained in an array, or -1 if it isn't contained.
`int` | `lastIndexOf(<Object> val)` return the last index position of a value contained in an array, or -1 if it isn't contained.
`<static> Array` | `intersection()` Retrieve the intersection set of a bunch of arrays
`<static> Array` | `union()` Retrieve the union set of a bunch of arrays

Method Detail

### contains

    boolean contains(<Object> val)

check if an array passed as argument contains a specific value (start from end of array)

Parameters:

`val` - the value to check

Returns:

true if the value is contained

### indexOf

    int indexOf(<Object> val)

Return the first index position of a value contained in an array, or -1 if it isn't contained.

Parameters:

`val` - the value to check

Returns:

the index of the first occurence of val, or -1

### lastIndexOf

    int lastIndexOf(<Object> val)

return the last index position of a value contained in an array, or -1 if it isn't contained.

Parameters:

`val` - the value to check

Returns:

the index of the first occurence of val, or -1

### intersection

    <static> Array intersection()

Retrieve the intersection set of a bunch of arrays

Parameters:

`array1` - ,... the arrays to intersect

Returns:

the intersection set

### union

    <static> Array union()

Retrieve the union set of a bunch of arrays

Parameters:

`array1` - ,... the arrays to unify

Returns:

the union set

SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods

Documentation generated by JSDoc on Thu Apr 5 01:59:00 2007