Class List

Object
   |
   +--List
Direct Known Subclasses:
Geometry, MultiGeometry, GeometryArray

class 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

list

Object list

Constructor Detail

List

List()

Method Detail

add

void add(<Object> item)

addCopy

void addCopy(<Object> item)

count

Integer count()

del

void del(<Integer> i)

empty

void empty()

get

Integer or false get(<Integer> i)

toString

String toString()

union

void union(<List> aList)


Documentation generated by JSDoc on Wed Aug 8 10:35:22 2007