クラス DiffRowDescriptor

java.lang.Object
com.kazurayam.difflib.text.DiffRowDescriptor
すべての実装されたインタフェース:
Comparable<DiffRowDescriptor>

public class DiffRowDescriptor extends Object implements Comparable<DiffRowDescriptor>
A pointer to a DiffRow entry in a List of DiffRows. A DiffRowDescription contains only 2 properties: int sequence, @see com.github.difflib.text.DiffRow. A DiffRowDescription does not contain a copy of a DiffRow object; therefore it is light-weighted. The List of DiffRows is supposed to be the one created by @see com.kazurayam.difflib.text.Differ#diffFiles(Path, Path) and others.
  • コンストラクタの詳細

    • DiffRowDescriptor

      public DiffRowDescriptor(int listIndex, com.github.difflib.text.DiffRow diffRow)
  • メソッドの詳細

    • findDiffRowIn

      public com.github.difflib.text.DiffRow findDiffRowIn(List<com.github.difflib.text.DiffRow> diffRow)
    • getSequence

      public int getSequence()
    • getTag

      public com.github.difflib.text.DiffRow.Tag getTag()
    • isTaggedInsertedDeletedChanged

      public boolean isTaggedInsertedDeletedChanged()
    • isTaggedEqual

      public boolean isTaggedEqual()
    • equals

      public boolean equals(Object obj)
      オーバーライド:
      equals クラス内 Object
    • compareTo

      public int compareTo(DiffRowDescriptor other)
      定義:
      compareTo インタフェース内 Comparable<DiffRowDescriptor>