public interface NodeList extends BridgeList<Node>
| Modifier and Type | Field and Description |
|---|---|
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)
|
| Modifier and Type | Method and Description |
|---|---|
Node |
getNode(int index)
Returns the Node at the indicated postion 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.
|
getProperties, getProperty, setProperty, sort, sort, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, spliterator, toArray, toArrayparallelStream, removeIf, streamstatic 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.Node getNode(int index)
index - the position of the Node to retrieveNodeIterator 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)MMBase 1.9-SNAPSHOT - ${javadoctimestamp}