new CustomPropCollection()

Constructor.

Methods

add(customProp) → Number

Add the CustomProp object in the collection.

Parameter

Name Type Optional Description

customProp

CustomProp

 

Returns

Number 

clear()

Removes all elements from collection.

get(index) → CustomProp

Gets the element at specified index.

Parameter

Name Type Optional Description

index

Number

 

Returns

CustomProp 

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(customProp)

Remove the CustomProp object from the collection.

Parameter

Name Type Optional Description

customProp

CustomProp