Class AlignedChunk

java.lang.Object
com.betterdiff.core.alignment.AlignedChunk

public class AlignedChunk
extends java.lang.Object
Aligned chunk is a chunk that has it's final position after the aligning phase. Because the position is not related to the original chunks, the text and id is stored directly without any link to original chunks.
Author:
troomar
  • Constructor Summary

    Constructors
    Constructor Description
    AlignedChunk​(PairedChunk pairedChunk, int ordinalNumber, int yAxis)  
  • Method Summary

    Modifier and Type Method Description
    int getOrdinalNumber()  
    PairedChunk getPairedChunk()  
    int getYAxis()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AlignedChunk

      public AlignedChunk​(PairedChunk pairedChunk, int ordinalNumber, int yAxis)
  • Method Details

    • getOrdinalNumber

      public int getOrdinalNumber()
    • getYAxis

      public int getYAxis()
    • getPairedChunk

      public PairedChunk getPairedChunk()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object