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

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
      extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractStopVertex
All Implemented Interfaces:
Cloneable, HasStopTransitVertex, TransitVertex, org.opentripplanner.routing.core.Vertex
Direct Known Subclasses:
AbstractStopVertexWithEdges, WalkFromStopVertex, WalkToStopVertex

public abstract class AbstractStopVertex
extends AbstractVertex
implements HasStopTransitVertex


Field Summary
protected  StopEntry _stop
           
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
_context
 
Constructor Summary
AbstractStopVertex(GraphContext context, StopEntry stop)
           
 
Method Summary
 boolean equals(Object obj)
           
 StopEntry getStop()
           
 org.onebusaway.gtfs.model.AgencyAndId getStopId()
          Vertex Interface
 double getX()
           
 double getY()
           
 int hashCode()
          Object Interface
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
distance, distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getLabel, getName, setDistanceToNearestTransitStop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.onebusaway.transit_data_federation.impl.otp.graph.TransitVertex
getContext
 
Methods inherited from interface org.opentripplanner.routing.core.Vertex
toString
 

Field Detail

_stop

protected final StopEntry _stop
Constructor Detail

AbstractStopVertex

public AbstractStopVertex(GraphContext context,
                          StopEntry stop)
Method Detail

getStop

public StopEntry getStop()
Specified by:
getStop in interface HasStopTransitVertex

getStopId

public org.onebusaway.gtfs.model.AgencyAndId getStopId()
Vertex Interface

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

hashCode

public int hashCode()
Object Interface

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.