|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bbn.openmap.graphicLoader.scenario.TimeStamp
A TimeStamp is a latitude and longitude associated with a time. The time is relative.
Field Summary | |
protected float |
latitude
|
protected float |
longitude
|
protected long |
time
|
Constructor Summary | |
protected |
TimeStamp()
A constructor for a TimeStamp created internally by the ScenarioPoint to be used by its TreeSet as a Comparator. |
|
TimeStamp(float lat,
float lon,
long t)
Create a TimeStamp to be used as a position by ScenarioPoints. |
Method Summary | |
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compares its two arguments for order. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this Comparator. |
LatLonPoint |
getLocation()
|
LatLonPoint |
getLocation(LatLonPoint llp)
|
long |
getTime()
|
void |
setLocation(float lat,
float lon)
|
void |
setLocation(LatLonPoint llp)
|
void |
setTime(long t)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected float latitude
protected float longitude
protected long time
Constructor Detail |
protected TimeStamp()
public TimeStamp(float lat, float lon, long t)
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public void setTime(long t)
public long getTime()
public void setLocation(LatLonPoint llp)
public void setLocation(float lat, float lon)
public LatLonPoint getLocation()
public LatLonPoint getLocation(LatLonPoint llp)
public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface java.util.Comparator
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Comparator
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |