|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--List
A List object is an array of arbitrary objects with additional methods.
Defined in map.js
Field Summary | |
Object |
list
|
Constructor Summary | |
List()
|
Method Summary | |
void
|
add(<Object> item)
adds a reference to item to this List. |
void
|
addCopy(<Object> item)
adds a copy of item to this List. |
Integer
|
count()
gets the number of elements in this List |
void
|
del(<Integer> i)
deletes the object at index i; -1 refers to the last object in this List |
void
|
empty()
empties this List |
Integer or false
|
get(<Integer> i)
|
String
|
toString()
|
void
|
union(<List> aList)
attaches the List aList to this List |
Field Detail |
Object list
Constructor Detail |
List()
Method Detail |
void add(<Object> item)
item
- an object
void addCopy(<Object> item)
item
- an object
Integer count()
void del(<Integer> i)
i
- index
void empty()
Integer or false get(<Integer> i)
i
- index
String toString()
void union(<List> aList)
aList
- another list
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |