net.agmodel.pPhysical
Class PLocation
java.lang.Object
net.agmodel.pPhysical.PLocation2D
net.agmodel.pPhysical.PLocation
- All Implemented Interfaces:
- Comparable, Serializable
- Direct Known Subclasses:
- PPlace
- public class PLocation
- extends PLocation2D
- implements Serializable, Comparable
Implements a persistent version of Location.
- Author:
- Matthew Laurenson
- See Also:
- Serialized Form
PLocation
public PLocation(double latitude,
double longitude,
double altitude)
throws IllegalArgumentException
PLocation
public PLocation(Location l)
throws IllegalArgumentException
toString
public String toString()
- Overrides:
toString in class PLocation2D
getAltitude
public double getAltitude()
getLocation
public Location getLocation()
compareTo
public int compareTo(Object a)
- Specified by:
compareTo in interface Comparable- Overrides:
compareTo in class PLocation2D
Copyright (C) NARC 2001 All Rights Reserved.