Package org.orekit.utils
Class FieldTimeSpanMap.Span<S,F extends CalculusFieldElement<F>>
java.lang.Object
org.orekit.utils.FieldTimeSpanMap.Span<S,F>
- Type Parameters:
S- Type of the data.F- Type of the field elements
- Enclosing class:
FieldTimeSpanMap<T,F extends CalculusFieldElement<F>>
Holder for one time span.
This data type is dual to FieldTimeSpanMap.Transition, it
is focused on one valid data, and gives access to
surrounding transition dates whereas FieldTimeSpanMap.Transition
is focused on one transition date, and gives access to
surrounding valid data.
- Since:
- 13.1
-
Method Summary
Modifier and TypeMethodDescriptiongetData()Get the data valid during this time span.getEnd()Get the end of this time span.Get the transition at the end of this time span.getStart()Get the start of this time span.Get the transition at the start of this time span.next()Get the next time span.previous()Get the previous time span.
-
Method Details
-
getData
Get the data valid during this time span.- Returns:
- data valid during this time span
-
previous
Get the previous time span.- Returns:
- previous time span, or null if this time span was the first one
-
next
Get the next time span.- Returns:
- next time span, or null if this time span was the last one
-
getStart
Get the start of this time span.- Returns:
- start of this time span (will be
FieldAbsoluteDate.getPastInfinity(Field)ifgetStartTransition()returns null) - See Also:
-
getStartTransition
Get the transition at the start of this time span.- Returns:
- transition at the start of this time span (null if span extends to past infinity)
- See Also:
-
getEnd
Get the end of this time span.- Returns:
- end of this time span (will be
FieldAbsoluteDate.getFutureInfinity(Field)ifgetEndTransition()returns null) - See Also:
-
getEndTransition
Get the transition at the end of this time span.- Returns:
- transition at the end of this time span (null if span extends to future infinity)
- See Also:
-