Property Getters/Setters Summary | ||
---|---|---|
method | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
method | get(index) | |
Gets the element at the specified index.
|
Method Summary | ||
---|---|---|
method | add(item) | |
Add the User object in the collection.
|
||
method | clear() | |
Removes all elements from collection.
|
||
method | getUser(ID) | |
Gets the element at the specified ID.
|
||
method | getUser(name) | |
Gets the element at the specified ID.
|
||
method | isExist(index) | |
Is exist item in the collection.
|
||
method | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
||
method | remove(item) | |
Remove the User object from the collection.
|
int getCount()
int add(item)
remove(item)
User getUser(name)
name: String
- User getUser(ID)
ID: int
- Iterator iterator()
boolean isExist(index)
index: int
- index of element.clear()