Class AlignedPair


  • public final class AlignedPair
    extends Object
    An aligned pair consists of a source and target list of TextParts or Segments, along with a LocaleId specifying the locale of the target.

    An AlignedPair is read-only.

    Author:
    HARGRAVEJE
    • Constructor Detail

      • AlignedPair

        public AlignedPair​(List<TextPart> sourceParts,
                           List<TextPart> targetParts,
                           LocaleId localeId)
        Creates an AlignedPair from source and target TextParts
        Parameters:
        sourceParts - List source inter-segment and segment parts
        targetParts - List target inter-segment and segment parts
        localeId - LocaleId of the target parts