Methods

add() → Number

Add the Prop object in the collection.

Returns

Number 

clear()

Removes all elements from collection.

get(index) → Prop

Gets the element at the specified index.

Parameter

Name Type Optional Description

index

Number

 

Returns

Prop 

getCount()

Gets the number of elements actually contained in the collection.

getProp(ID) → Prop

Gets the element at the specified ID.

Parameter

Name Type Optional Description

ID

Number

 

Returns

Prop 

getProp(name) → Prop

Gets the element at the specified name.

Parameter

Name Type Optional Description

name

String

 

Returns

Prop 

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

Remove the Prop object from the collection.