|
TROIKA.ASP - the MVC framework | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--ListIterator
This is ListIterator class - implementation of iterator over an list.
Defined in ListIterator.js
| Constructor Summary | |
ListIterator(<Array> v)
An iterator over a list. |
|
| Method Summary | |
void
|
add(<Object> value)
Appends a new value to the current list. |
boolean
|
hasNext()
Returns true if the iteration has next element. |
boolean
|
hasPrevious()
Returns true if the iteration has previous element. |
int
|
index()
Returns the current index of the iteration. |
ListIterator
|
init(v)
Initializes ListIterator. |
Object
|
next()
Returns the next element in the iteration. |
Object
|
previous()
Returns the previous element in the iteration. |
void
|
remove()
Removes from the underlying collection the last element returned by the iterator. |
void
|
set(<Object> value)
Sets a new value to the current element. |
| Constructor Detail |
ListIterator(<Array> v)
v - The list to iterate through.
| Method Detail |
void add(<Object> value)
value - The new value.
boolean hasNext()
boolean hasPrevious()
int index()
ListIterator init(v)
Object next()
Object previous()
void remove()
void set(<Object> value)
value - The new value.
|
TROIKA.ASP - the MVC framework | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |