@Portable public class GraphNodeImpl<C,T extends Edge> extends Object implements GraphNode<C,T>
Constructor and Description |
---|
GraphNodeImpl() |
Modifier and Type | Method and Description |
---|---|
C |
getContent() |
int |
getId() |
List<T> |
getInEdges() |
List<T> |
getOutEdges() |
void |
setContent(C content) |
void |
setId(int id) |
String |
toString() |
public void setContent(C content)
setContent
in interface GraphNode<C,T extends Edge>
public List<T> getInEdges()
getInEdges
in interface GraphNode<C,T extends Edge>
public List<T> getOutEdges()
getOutEdges
in interface GraphNode<C,T extends Edge>
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.