Class FieldTimeSpanMap.Transition<S,F extends CalculusFieldElement<F>>

java.lang.Object
org.orekit.utils.FieldTimeSpanMap.Transition<S,F>
Type Parameters:
S - Type of the data.
F - Type of the field elements
All Implemented Interfaces:
FieldTimeStamped<F>
Enclosing class:
FieldTimeSpanMap<T,F extends CalculusFieldElement<F>>

public static class FieldTimeSpanMap.Transition<S,F extends CalculusFieldElement<F>> extends Object implements FieldTimeStamped<F>
Class holding transition times.

This data type is dual to FieldTimeSpanMap.Span, it is focused on one transition date, and gives access to surrounding valid data whereas FieldTimeSpanMap.Span is focused on one valid data, and gives access to surrounding transition dates.

Since:
13.1
  • Method Details

    • getDate

      public FieldAbsoluteDate<F> getDate()
      Get the transition date.
      Specified by:
      getDate in interface FieldTimeStamped<S>
      Returns:
      transition date
    • resetDate

      public void resetDate(FieldAbsoluteDate<F> newDate, boolean eraseOverridden)
      Move transition.

      When moving a transition to past or future infinity, it will be disconnected from the time span it initially belonged to as the next or previous time span validity will be extends to infinity.

      Parameters:
      newDate - new transition date
      eraseOverridden - if true, spans that are entirely between current and new transition dates will be silently removed, if false and such spans exist, an exception will be triggered
    • previous

      public FieldTimeSpanMap.Transition<S,F> previous()
      Get the previous transition.
      Returns:
      previous transition, or null if this transition was the first one
    • next

      Get the next transition.
      Returns:
      next transition, or null if this transition was the last one
    • getBefore

      public S getBefore()
      Get the entry valid before transition.
      Returns:
      entry valid before transition
      See Also:
    • getSpanBefore

      public FieldTimeSpanMap.Span<S,F> getSpanBefore()
      Get the FieldTimeSpanMap.Span valid before transition.
      Returns:
      FieldTimeSpanMap.Span valid before transition
    • getAfter

      public S getAfter()
      Get the entry valid after transition.
      Returns:
      entry valid after transition
      See Also:
    • getSpanAfter

      public FieldTimeSpanMap.Span<S,F> getSpanAfter()
      Get the FieldTimeSpanMap.Span valid after transition.
      Returns:
      FieldTimeSpanMap.Span valid after transition