flatMap2OptionalValues
(DOC) Performs a local binary operation that produces profiles, and flattens it into a profile of the same type as this.
(DOC) Performs a local binary operation that produces profiles, and flattens it, with special treatment of gaps.
Similar to map2OptionalValues, except it expects the NullBinaryOperation to return a profile. Each nested profile is then collected on the interval it corresponds to, and the results are concatenated into a single profile.
This is useful for binary operations where at least one of the operand segments represents a value that varies within the segment, such as gov.nasa.ammos.aerie.procedural.timeline.collections.profiles.Real.
Return
a coalesced flattened profile; an instance of the return type of ctor
Parameters
the other operand's payload type
the result's payload type
the result's timeline type
the result timeline's constructor
the other operand timeline
a binary operation between the two payload types that produces a maybe-null profile