com.microsoft.tfs.core.clients.workitem.node
Interface NodeCollection


public interface NodeCollection

Represents a collection of Node objects.

Since:
TEE-SDK-10.1

Method Summary
 boolean contains(Node node)
          Checks whether this collection contains the specified Node object.
 Node get(java.lang.String nodeName)
          Gets the Node object in this collection that has the specified name.
 Node[] getNodes()
           
 java.util.Iterator<Node> iterator()
           
 int size()
           
 

Method Detail

iterator

java.util.Iterator<Node> iterator()
Returns:
an iterator for this collection

size

int size()
Returns:
the number of Nodes in the collection.

get

Node get(java.lang.String nodeName)
Gets the Node object in this collection that has the specified name.

Parameters:
nodeName - The name of the desired Node.
Returns:
the Node with the specified name or null if no matching Node was found

getNodes

Node[] getNodes()
Returns:
an array containing all Nodes from the collection.

contains

boolean contains(Node node)
Checks whether this collection contains the specified Node object.

Parameters:
node - The Node object of interest.
Returns:
True if the list contains the specified Node object; otherwise, false.


© 2015 Microsoft. All rights reserved.