UserCollection
Contents
[
Hide
]UserCollection class
User collection.
Methods
| Name | Description |
|---|---|
| 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.
| Parameter | Type | Description |
|---|---|---|
| name | String |
Returns: User — User
getUser(ID)
Gets the element at the specified ID.
| Parameter | Type | Description |
|---|---|---|
| ID | Number |
Returns: User — User
iterator()
Reserved for internal use.
remove()
Remove the User object from the collection.