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, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public 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 © 2023. All rights reserved.