org.onebusaway.transit_data_federation.impl.otp.graph
Class DepartureVertex
java.lang.Object
org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
org.onebusaway.transit_data_federation.impl.otp.graph.DepartureVertex
- All Implemented Interfaces:
- Cloneable, HasStopTransitVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex
public final class DepartureVertex
- extends AbstractVertexWithEdges
- implements HasStopTransitVertex
DepartureVertex
public DepartureVertex(GraphContext context,
StopEntry stop,
long time)
getStop
public StopEntry getStop()
- Specified by:
getStop
in interface HasStopTransitVertex
getLabel
public String getLabel()
Vertex
Interface
- Specified by:
getLabel
in interface org.opentripplanner.routing.core.Vertex
- Overrides:
getLabel
in class AbstractVertex
getStopId
public org.onebusaway.gtfs.model.AgencyAndId getStopId()
- Specified by:
getStopId
in interface org.opentripplanner.routing.core.Vertex
- Overrides:
getStopId
in class AbstractVertex
getX
public double getX()
- Specified by:
getX
in interface org.opentripplanner.routing.core.Vertex
getY
public double getY()
- Specified by:
getY
in interface org.opentripplanner.routing.core.Vertex
getIncoming
public Collection<org.opentripplanner.routing.core.Edge> getIncoming()
HasEdges
Interface
- Specified by:
getIncoming
in interface org.opentripplanner.routing.core.HasEdges
- Overrides:
getIncoming
in class AbstractVertexWithEdges
getOutgoing
public Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
- Specified by:
getOutgoing
in interface org.opentripplanner.routing.core.HasEdges
- Overrides:
getOutgoing
in class AbstractVertexWithEdges
toString
public String toString()
Object
Interface
- Specified by:
toString
in interface org.opentripplanner.routing.core.Vertex
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2012 OneBusAway. All Rights Reserved.