new EventItemCollection()

Constructor.

Methods

add(eventItem) → Number

Add the eventItem in the collection.

Parameter

Name Type Optional Description

eventItem

EventItem

 

Returns

Number 

clear()

Removes all elements from collection.

get(index) → EventItem

Gets the element at the specified index.

Parameter

Name Type Optional Description

index

Number

 

Returns

EventItem 

getCount()

Gets the number of elements actually contained in the collection.

isExist(index) → boolean

Is exist item in the collection.

Parameter

Name Type Optional Description

index

Number

 

index of element.

Returns

boolean 

iterator() → Iterator

Supports a simple iteration over a nongeneric collection.

Returns

Iterator 

remove(eventItem)

Remove the eventItem from the collection.

Parameter

Name Type Optional Description

eventItem

EventItem