public class DataConnectionCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
long | getNextID() | |
void | setNextID(longvalue) | |
The next available ID for new connections. | ||
DataConnection | get(int index) | |
Gets the element at the specified index.
|
Method Summary | ||
---|---|---|
int | add(DataConnection dataConnection) | |
Add the dataConnection in the collection.
|
||
void | clear() | |
Removes all elements from collection.
|
||
DataConnection | getDataConnection(long ID) | |
Gets the element at the specified ID.
|
||
boolean | isExist(int index) | |
Is exist item in the collection.
|
||
java.util.Iterator | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
||
void | remove(DataConnection dataConnection) | |
Remove the dataConnection from the collection.
|
public long getNextID() / public void setNextID(long value)
public int getCount()
public DataConnection get(int index)
index
- public int add(DataConnection dataConnection)
dataConnection
- public void remove(DataConnection dataConnection)
dataConnection
- public DataConnection getDataConnection(long ID)
ID
- ID of DataConnectionpublic java.util.Iterator iterator()
public boolean isExist(int index)
index
- index of element.public void clear()