Gets a value indicating whether the collection read-only. Always returns false;
Gets the {@link com.bayesserver.Network} the collection belongs to.
Gets the number of elements contained in the collection.
Removes all elements from the collection.
Finds a link from one node to another if it exists, otherwise returns null.
The link if found, otherwise null.
Finds a link from one node to another if it exists, otherwise returns null.
The from (parent) node.
The to (child) node.
The temporal order of the link. Will be null unless the nodes are temporal nodes.
The link if found, otherwise null.
Gets the {@link com.bayesserver.Link} object at the specified index.
The zero-based index of the {@link com.bayesserver.Link} to find.
A {@link com.bayesserver.Link}.
Determines whether a {@link com.bayesserver.Link} is in the collection. The operation is O(1).
The {@link com.bayesserver.Link} to locate in the collection. The value can be null.
true if [item] is found in the collection; otherwise, false.
Determines the index of a specific {@link com.bayesserver.Link} in the collection. This operation is O(1).
The link. The value can be null.
The index of the link or -1 if not found.
Inserts an element into the collection at the specified index.
The zero based index at which to add the element.
The item to insert. Cannot be null.
Removes the {@link com.bayesserver.Link} from the collection.
The {@link com.bayesserver.Link} to be removed from the collection.
true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the collection.
Removes an element from the collection at the specified index.
The zero based index at which to remove the element.
Sets the {@link com.bayesserver.Link} object at the specified index.
The zero-based index of the {@link com.bayesserver.Link} to find.
Represents the collection of directed links maintained by the {@link com.bayesserver.Network} class. See {@link com.bayesserver.Network#getLinks} . Duplicates and null values are not allowed.
This collection contains all links in a network. To find links specific to a particular node, see {@link com.bayesserver.Node#getLinksIn LinksIn} and {@link com.bayesserver.Node#getLinksOut LinksOut}.
com.bayesserver.Node#getLinksIn
com.bayesserver.Node#getLinksOut