|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface NodeList
A list of nodes
| Field Summary | |
|---|---|
static String |
NODESTEP_PROPERTY
The node-step property will be set on a cluster node list which is the result of a NodeQuery (which can also result 'real' nodes). |
static String |
QUERY_PROPERTY
In the propery of the list with this name you find back the original Query object by which this NodeList was created (if it as created like that) |
| Method Summary | |
|---|---|
Node |
getNode(int index)
Returns the Node at the indicated position in the list |
NodeIterator |
nodeIterator()
Returns an type-specific iterator for this list. |
NodeList |
subNodeList(int fromIndex,
int toIndex)
Returns a sublist of this list. |
| Methods inherited from interface org.mmbase.bridge.BridgeList |
|---|
getProperties, getProperty, setProperty, sort, sort, subList |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, toArray, toArray |
| Field Detail |
|---|
static final String QUERY_PROPERTY
static final String NODESTEP_PROPERTY
NodeQuery (which can also result 'real' nodes). This happens when you can
Cloud.getList(Query) with a NodeQuery argument.
| Method Detail |
|---|
Node getNode(int index)
index - the position of the Node to retrieve
NodeIterator nodeIterator()
NodeList subNodeList(int fromIndex,
int toIndex)
fromIndex - the position in the current list where the sublist starts (inclusive)toIndex - the position in the current list where the sublist ends (exclusive)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||