@PublicAPI public class NodeSet extends ArrayList<org.objectweb.proactive.core.node.Node>
modCount
Constructor and Description |
---|
NodeSet()
constructor.
|
NodeSet(Collection<org.objectweb.proactive.core.node.Node> nodes)
Creates a node set containing given nodes.
|
NodeSet(int initialCapacity)
Constructs an empty list with the specified initial capacity.
|
NodeSet(NodeSet another)
Constructs the nodes set from another node set.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllNodesUrls()
Returns a set containing all nodes urls (standard + extra) included in this node set
|
Collection<org.objectweb.proactive.core.node.Node> |
getExtraNodes()
Returns the collection of extra nodes associated to this node set.
|
int |
getTotalNumberOfNodes()
Return the total number of nodes (standard + extra) included in this node set
|
void |
setExtraNodes(Collection<org.objectweb.proactive.core.node.Node> extraNodes)
Sets new extra nodes list.
|
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public NodeSet()
public NodeSet(Collection<org.objectweb.proactive.core.node.Node> nodes)
nodes
- collection to put into the NodeSetpublic NodeSet(int initialCapacity)
initialCapacity
- the initial capacity of the listpublic NodeSet(NodeSet another)
another
- public Collection<org.objectweb.proactive.core.node.Node> getExtraNodes()
public void setExtraNodes(Collection<org.objectweb.proactive.core.node.Node> extraNodes)
extraNodes
- public int getTotalNumberOfNodes()
public Set<String> getAllNodesUrls()
public String toString()
toString
in class AbstractCollection<org.objectweb.proactive.core.node.Node>