|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DrbSequence
Collection of item. This interface provides primary operations to handle collections of items.
| Method Summary | |
|---|---|
DrbSequence |
addItem(int index,
DrbItem item)
Inserts a item at a given position. |
ValueArray |
atomize()
The atomic values of this sequence. |
DrbItem |
getItem(int index)
Returns a specific item of the list. |
int |
getLength()
The number of items in the list. |
DrbSequence |
removeItem(int index)
Removes an existing item. |
| Method Detail |
|---|
DrbItem getItem(int index)
index - The position of the item starting from and not greater or
equal to the item count in the list.
ValueArray atomize()
int getLength()
DrbSequence addItem(int index,
DrbItem item)
throws NullPointerException,
UnsupportedOperationException,
IndexOutOfBoundsException
index - The expected index of the item after the insertion.item - A reference to the item to be inserted.
NullPointerException - This exception is raised when the passed item
a null reference. This exception may be overriden by an
UnsupportedOperationException.
IndexOutOfBoundsException - This exception is raised when the passe
index is less than zero or if it is greater or equal to the
number of item in the sequence prior the call
UnsupportedOperationException - This exception is raised when the
implementation does not support the requested insertion for any
reason (e.g. impossible in this current specific case or in
general).
DrbSequence removeItem(int index)
throws IndexOutOfBoundsException,
UnsupportedOperationException
index - Index of the item to be removed.
IndexOutOfBoundsException - This exception is raised when the passed
index is less than zero or greater or equal to the current
number of children.
UnsupportedOperationException - This exception is raised when the
implementation does not support the requested removal for any
reason.
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||