public class ScratchCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
Scratch | get(int index) | |
Gets the element at the specified index.
|
Method Summary | ||
---|---|---|
int | add(Scratch item) | |
Add the Scratch object in the collection.
|
||
void | clear() | |
Removes all elements from collection.
|
||
boolean | isExist(int index) | |
Is exist item in the collection.
|
||
java.util.Iterator | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
||
void | remove(Scratch item) | |
Remove the Scratch object from the collection.
|
public int getCount()
public Scratch get(int index)
index
- public int add(Scratch item)
public void remove(Scratch item)
public java.util.Iterator iterator()
public boolean isExist(int index)
index
- index of element.public void clear()