TROIKA.ASP - the MVC framework

Class ArrayList

Object
   |
   +--ArrayList

class ArrayList


This is ArrayList class - implementation of ordered collection.
Defined in ArrayList.js


Constructor Summary
ArrayList()
            Constructs a ArrayList object.
 
Method Summary
 int add(<Object> element)
           Adds an element to this list.
 boolean addAll(<ArrayList> list)
           Appends all of the elements of the parameter list to this list.
 void clear()
           Removes all of the elements from this list.
 boolean contains(<Object> element)
           Returns true If this list contains the specified element.
 Object get(<int> index)
           Returns the element at the specified position in this list.
 Object indexOf(<Object> element)
           Searches for the first occurence of the given argument.
 ArrayList init()
           Initializes an empty ArrayList.
 boolean isEmpty()
           Tests if this list has no elements.
 int lastIndexOf(<Object> element)
           Returns the index of the last occurrence of the specified object in this list.
 ListIterator listIterator()
           Returns an iterator over the elements in this list.
 Object remove(<int> index)
           Removes the first occurrence in this list of the specified element.
 void removeRange(<int> start, <int> end)
           Removes elements from the list within index range
 Object set(<int> index, <Object> element)
           Replaces the element at the specified position in this list with the specified element.
 int size()
           Returns the number of elements in this list.
 String toString()
           Returns a comma separated values of all elements of the list.

Constructor Detail

ArrayList

ArrayList()

Method Detail

add

int add(<Object> element)

addAll

boolean addAll(<ArrayList> list)

clear

void clear()

contains

boolean contains(<Object> element)

get

Object get(<int> index)

indexOf

Object indexOf(<Object> element)

init

ArrayList init()

isEmpty

boolean isEmpty()

lastIndexOf

int lastIndexOf(<Object> element)

listIterator

ListIterator listIterator()

remove

Object remove(<int> index)

removeRange

void removeRange(<int> start, <int> end)

set

Object set(<int> index, <Object> element)

size

int size()

toString

String toString()

TROIKA.ASP - the MVC framework

www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008