com.microsoft.tfs.core.clients.workitem.link
Interface LinkCollection

All Superinterfaces:
java.lang.Iterable<Link>

public interface LinkCollection
extends java.lang.Iterable<Link>

Since:
TEE-SDK-10.1

Method Summary
 boolean add(Link link)
          Adds the specified link to this collection.
 boolean contains(Link link)
          Checks whether this collection contains the specified Link object or an equivalent.
 java.util.Iterator<Link> iterator()
           
 void remove(Link link)
          Removes the specified link from this collection.
 int size()
           
 

Method Detail

iterator

java.util.Iterator<Link> iterator()
Specified by:
iterator in interface java.lang.Iterable<Link>
Returns:
an iterator for this collection

size

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

contains

boolean contains(Link link)
Checks whether this collection contains the specified Link object or an equivalent.

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

add

boolean add(Link link)
Adds the specified link to this collection.

Parameters:
link - the link to add (must not be null)
Returns:
true if the link was not already in this collection and was added, false if this collection already contained the link.

remove

void remove(Link link)
Removes the specified link from this collection.

Parameters:
link - the link to remove (must not be null)


© 2015 Microsoft. All rights reserved.