Class Network

  • All Implemented Interfaces:
    java.io.Serializable

    public class Network
    extends java.lang.Object
    implements java.io.Serializable
    Represents network which will be drawn. The network consists of nodes and edges.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Network EMPTY  
    • Constructor Summary

      Constructors 
      Constructor Description
      Network​(java.util.Collection<Node> nodes, java.util.Collection<Edge> edges)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<Edge> getEdges()  
      java.util.Collection<Node> getNodes()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY

        public static final Network EMPTY
    • Constructor Detail

      • Network

        public Network​(java.util.Collection<Node> nodes,
                       java.util.Collection<Edge> edges)
    • Method Detail

      • getNodes

        public java.util.Collection<Node> getNodes()
      • getEdges

        public java.util.Collection<Edge> getEdges()