transport
Class Station

java.lang.Object
  extended by transport.TransportationObject
      extended by transport.Station

public class Station
extends TransportationObject


Method Summary
 double getLat()
          Returns the latitude of the station, in (floating-point) degrees.
 double getLon()
          Returns the longitude of the station, in (floating-point) degrees.
 java.lang.String toString()
           
 
Methods inherited from class transport.TransportationObject
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLat

public double getLat()
Returns the latitude of the station, in (floating-point) degrees.

Returns:
the latitude of the station

getLon

public double getLon()
Returns the longitude of the station, in (floating-point) degrees.

Returns:
the longitude of the station

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object