public class GraphImpl extends AbstractSet<Node> implements Graph
| Constructor and Description |
|---|
GraphImpl() |
GraphImpl(Collection<Node> coll) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Node obj) |
NodeData |
getNodeData(Node node) |
Set<Node> |
getRoots() |
Iterator<Node> |
iterator() |
int |
size() |
equals, hashCode, removeAlladdAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic GraphImpl()
public GraphImpl(Collection<Node> coll)
public boolean add(Node obj)
add in interface Collection<Node>add in interface Set<Node>add in class AbstractCollection<Node>public int size()
size in interface Collection<Node>size in interface Set<Node>size in class AbstractCollection<Node>public NodeData getNodeData(Node node)
getNodeData in interface GraphCopyright © 2023 JBoss by Red Hat. All rights reserved.