org.hibernate.envers.tools.graph
Class Vertex<R>
java.lang.Object
org.hibernate.envers.tools.graph.Vertex<R>
public class Vertex<R>
- extends Object
A graph vertex - stores its representation, neighbours, start and end time in (D|B)FS.
Constructor Summary |
Vertex(R representation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Vertex
public Vertex(R representation)
getRepresentation
public R getRepresentation()
getNeighbours
public List<Vertex<R>> getNeighbours()
addNeighbour
public void addNeighbour(Vertex<R> n)
getStartTime
public int getStartTime()
setStartTime
public void setStartTime(int startTime)
getEndTime
public int getEndTime()
setEndTime
public void setEndTime(int endTime)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.