Package org.jpeek.graph
Class Node.Simple
- java.lang.Object
-
- org.jpeek.graph.Node.Simple
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jpeek.graph.Node
Node.Simple
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Node>
connections()
Calculates ingoing and outgoing connected nodes.String
name()
Node name.String
toString()
-
-
-
Constructor Detail
-
Simple
public Simple(String name)
Ctor.- Parameters:
name
- Node name
-
-
Method Detail
-
connections
public Set<Node> connections()
Description copied from interface:Node
Calculates ingoing and outgoing connected nodes.- Specified by:
connections
in interfaceNode
- Returns:
- List of nodes connected to this node.
-
-