public final class NodeLinkCollection extends AbstractList<Link>
Links.
Node.getLinks(), Node.getLinksIn() and Node.getLinksOut() are instances of this class.modCount| Modifier and Type | Method and Description |
|---|---|
Link |
get(int index) |
Node |
getNode()
Gets the
Node to which the collection belongs to. |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Node getNode()
Node to which the collection belongs to.Node that the collection belongs to.public Link get(int index)
public int size()
size in interface Collection<Link>size in interface List<Link>size in class AbstractCollection<Link>Copyright © 2021. All rights reserved.