org.onebusaway.transit_data_federation.impl.otp.graph
Class DepartureVertex

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
      extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
          extended by 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


Field Summary
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
_context
 
Constructor Summary
DepartureVertex(GraphContext context, StopEntry stop, long time)
           
 
Method Summary
 boolean equals(Object obj)
           
 Collection<org.opentripplanner.routing.core.Edge> getIncoming()
          HasEdges Interface
 String getLabel()
          Vertex Interface
 Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
           
 StopEntry getStop()
           
 org.onebusaway.gtfs.model.AgencyAndId getStopId()
           
 double getX()
           
 double getY()
           
 int hashCode()
           
 String toString()
          Object Interface
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
getDegreeIn, getDegreeOut
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
distance, distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getName, setDistanceToNearestTransitStop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.onebusaway.transit_data_federation.impl.otp.graph.TransitVertex
getContext
 

Constructor Detail

DepartureVertex

public DepartureVertex(GraphContext context,
                       StopEntry stop,
                       long time)
Method Detail

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.