public class GraphImpl extends AbstractSet implements Graph
Constructor and Description |
---|
GraphImpl() |
GraphImpl(Collection coll) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object obj) |
NodeData |
getNodeData(Node node) |
Set |
getRoots() |
Iterator |
iterator() |
int |
size() |
equals, hashCode, removeAll
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public GraphImpl()
public GraphImpl(Collection coll)
public boolean add(Object obj)
add
in interface Collection
add
in interface Set
add
in class AbstractCollection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
public NodeData getNodeData(Node node)
getNodeData
in interface Graph
Copyright © 2021 JBoss by Red Hat. All rights reserved.