UserCollection

UserCollection class

User collection.

Methods

NameDescription
add()Add the User object in the collection.
clear()
get()
getCount()
getUser(name)Gets the element at the specified ID.
getUser(ID)Gets the element at the specified ID.
iterator()Reserved for internal use.
remove()Remove the User object from the collection.
removeAt()

add()

Add the User object in the collection.

Returns: Number — Number

clear()

get()

getCount()

getUser(name)

Gets the element at the specified ID.

ParameterTypeDescription
nameString

Returns: User — User

getUser(ID)

Gets the element at the specified ID.

ParameterTypeDescription
IDNumber

Returns: User — User

iterator()

Reserved for internal use.

remove()

Remove the User object from the collection.

removeAt()