|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeStamped
This interface represents objects that have a AbsoluteDate
date attached to them.
Classes implementing this interface can be stored chronologically
in sorted sets using ChronologicalComparator
as the
underlying comparator. An example using for Orbit
instances is given here:
SortedSet<Orbit> sortedOrbits = new TreeSet<Orbit>(new ChronologicalComparator()); sortedOrbits.add(orbit1); sortedOrbits.add(orbit2); ...
This interface is also the base interface used to cache
series of time-dependent
objects for interpolation in a thread-safe manner.
AbsoluteDate
,
ChronologicalComparator
,
TimeStampedCache
Method Summary | |
---|---|
AbsoluteDate |
getDate()
Get the date. |
Method Detail |
---|
AbsoluteDate getDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |