Class SimpleNode

  • All Implemented Interfaces:
    Node

    public class SimpleNode
    extends java.lang.Object
    implements Node
    A simple node of a graph with a name.
    Author:
    Matthias Thimm
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleNode​(java.lang.String s)
      Creates a new node with the given name.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SimpleNode

        public SimpleNode​(java.lang.String s)
        Creates a new node with the given name.
        Parameters:
        s - some string.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object