public class GraphMLGraph extends GraphMLElement
GraphMLElement.GraphMLElementVisitor<T>
ID
Constructor and Description |
---|
GraphMLGraph() |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(GraphMLElement.GraphMLElementVisitor<T> visitor) |
void |
addEdge(GraphMLEdge edge) |
void |
addNode(GraphMLNode node) |
boolean |
equals(Object obj) |
GraphMLEdge |
getEdgeById(String id) |
Collection<GraphMLEdge> |
getEdges() |
GraphMLNode |
getNodeById(String id) |
Collection<GraphMLNode> |
getNodes() |
int |
hashCode() |
getId, getProperties, getProperty, getProperty, setId, setProperty, toString
public void addEdge(GraphMLEdge edge)
public void addNode(GraphMLNode node)
public Collection<GraphMLEdge> getEdges()
public Collection<GraphMLNode> getNodes()
public GraphMLNode getNodeById(String id)
public GraphMLEdge getEdgeById(String id)
public <T> T accept(GraphMLElement.GraphMLElementVisitor<T> visitor)
accept
in class GraphMLElement
public int hashCode()
hashCode
in class GraphMLElement
public boolean equals(Object obj)
equals
in class GraphMLElement
Copyright © 2021. All rights reserved.