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

    • Method Detail

      • 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

        public FieldTimeSpanMap.Transition<S,​F> 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()
      • getAfter

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