public class Graph extends Object
| Constructor and Description |
|---|
Graph() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Message |
getDescription()
Encapsulates a message intended to be read by the end user.
|
Set<Edge> |
getEdges()
An array of edge objects representing the edges of the graph.
|
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(Set<Edge> edges)
An array of edge objects representing the edges of the graph.
|
void |
setNodes(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.
|
String |
toString() |
Graph |
withDescription(Message description) |
Graph |
withEdges(Set<Edge> edges) |
Graph |
withNodes(Set<Node> nodes) |
Graph |
withProperties(PropertyBag properties) |
public Message getDescription()
public void setDescription(Message description)
public void setNodes(Set<Node> nodes)
public void setEdges(Set<Edge> edges)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Graph withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.