T - The type of a Node in the graph, which must extend Node.public class GraphImpl<T extends Node<T>> extends AbstractSet<T> implements Graph<T>
| Constructor and Description |
|---|
GraphImpl() |
GraphImpl(Collection<T> coll) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T obj) |
NodeData |
getNodeData(T node) |
Set<T> |
getRoots() |
Iterator<T> |
iterator() |
int |
size() |
equals, hashCode, removeAlladdAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringpublic GraphImpl()
public GraphImpl(Collection<T> coll)
Copyright © 2017 Oracle. All rights reserved.