Package org.orekit.utils
Class TimeSpanMap.Transition<S>
- java.lang.Object
-
- org.orekit.utils.TimeSpanMap.Transition<S>
-
- Type Parameters:
S
- Type of the data.
- All Implemented Interfaces:
TimeStamped
- Enclosing class:
- TimeSpanMap<T>
public static class TimeSpanMap.Transition<S> extends Object implements TimeStamped
Class holding transition times.This data type is dual to
TimeSpanMap.Span
, it is focused one transition date, and gives access to surrounding valid data whereasTimeSpanMap.Span
is focused on one valid data, and gives access to surrounding transition dates.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S
getAfter()
Get the entry valid after transition.S
getBefore()
Get the entry valid before transition.AbsoluteDate
getDate()
Get the transition date.
-
-
-
Method Detail
-
getDate
public AbsoluteDate getDate()
Get the transition date.- Specified by:
getDate
in interfaceTimeStamped
- Returns:
- transition date
-
getBefore
public S getBefore()
Get the entry valid before transition.- Returns:
- entry valid before transition
-
getAfter
public S getAfter()
Get the entry valid after transition.- Returns:
- entry valid after transition
-
-