|
TROIKA.ASP - the MVC framework | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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()
| Method Detail |
int add(<Object> element)
element - The object to add to the list
boolean addAll(<ArrayList> list)
list - The list elements of which to add to the list
void clear()
boolean contains(<Object> element)
element - The element whose presence in this list is to be tested.
Object get(<int> index)
index - The index of element to return.
Object indexOf(<Object> element)
element - The desired object.
ArrayList init()
boolean isEmpty()
int lastIndexOf(<Object> element)
element - The desired element.
ListIterator listIterator()
Object remove(<int> index)
index - The index of the element to be removed from this list.
void removeRange(<int> start, <int> end)
start - The index of the start element to be removed.
end - The index of the end element to be removed from this list.
Object set(<int> index, <Object> element)
index - index of element to replace.
element - element to be stored at the specified position.
int size()
String toString()
|
TROIKA.ASP - the MVC framework | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |