Methods

add() → Number

Add the User object in the collection.

Returns

Number 

clear()

get()

getCount()

getUser(name) → User

Gets the element at the specified ID.

Parameter

Name Type Optional Description

name

String

 

Returns

User 

getUser(ID) → User

Gets the element at the specified ID.

Parameter

Name Type Optional Description

ID

Number

 

Returns

User 

iterator()

Reserved for internal use.

remove()

Remove the User object from the collection.

removeAt()