public class Graph
extends java.lang.Object
| Constructor and Description |
|---|
Graph() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
Message |
getDescription()
Encapsulates a message intended to be read by the end user.
|
java.util.Set<Edge> |
getEdges()
An array of edge objects representing the edges of the graph.
|
java.util.Set<Node> |
getNodes()
An array of node objects representing the nodes of the graph.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
int |
hashCode() |
void |
setDescription(Message description)
Encapsulates a message intended to be read by the end user.
|
void |
setEdges(java.util.Set<Edge> edges)
An array of edge objects representing the edges of the graph.
|
void |
setNodes(java.util.Set<Node> nodes)
An array of node objects representing the nodes of the graph.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
java.lang.String |
toString() |
public Message getDescription()
public void setDescription(Message description)
public java.util.Set<Node> getNodes()
public void setNodes(java.util.Set<Node> nodes)
public java.util.Set<Edge> getEdges()
public void setEdges(java.util.Set<Edge> edges)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object