Package edu.sc.seis.seisFile
Class SurfaceStation
- java.lang.Object
-
- edu.sc.seis.seisFile.SurfaceStation
-
- All Implemented Interfaces:
LatLonLocatable
public class SurfaceStation extends java.lang.Object implements LatLonLocatable
Locatable to represent a station, but with depth forced to be at the surface to avoid depth being undefined.
-
-
Constructor Summary
Constructors Constructor Description SurfaceStation(Station station)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationasLocation()booleanequals(java.lang.Object o)java.lang.StringgetLocationDescription()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
SurfaceStation
public SurfaceStation(Station station)
-
-
Method Detail
-
asLocation
public Location asLocation()
- Specified by:
asLocationin interfaceLatLonLocatable
-
getLocationDescription
public java.lang.String getLocationDescription()
- Specified by:
getLocationDescriptionin interfaceLatLonLocatable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-