-
public final class TranscriptionSegmentKt
-
-
Method Summary
Modifier and Type Method Description final static TranscriptionSegmentmerge(TranscriptionSegment $self, TranscriptionSegment newSegment)Merges newSegment info into this segment if the ids are equal. final static UnitmergeNewSegments(Map<String, TranscriptionSegment> $self, Collection<TranscriptionSegment> newSegments)Merges new segments into the map. -
-
Method Detail
-
merge
final static TranscriptionSegment merge(TranscriptionSegment $self, TranscriptionSegment newSegment)
Merges newSegment info into this segment if the ids are equal.
Returns
thisif a different segment is passed.
-
mergeNewSegments
final static Unit mergeNewSegments(Map<String, TranscriptionSegment> $self, Collection<TranscriptionSegment> newSegments)
Merges new segments into the map. The key should correspond to the segment id.
-
-
-
-