Class GraphImpl<T extends Node<T>>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractSet<T>
org.glassfish.pfl.basic.graph.GraphImpl<T>
- Type Parameters:
T- The type of a Node in the graph, which must extend Node.
- All Implemented Interfaces:
Iterable<T>, Collection<T>, Set<T>, Graph<T>
Implementation of a simple graph.
- Author:
- ken
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
GraphImpl
public GraphImpl() -
GraphImpl
-
-
Method Details
-
add
-
iterator
-
size
-
getNodeData
-
getRoots
-