クラス DiffRowDescriptor
java.lang.Object
com.kazurayam.difflib.text.DiffRowDescriptor
- すべての実装されたインタフェース:
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.
-
コンストラクタの概要
-
メソッドの概要
修飾子とタイプメソッド説明int
compareTo
(DiffRowDescriptor other) boolean
com.github.difflib.text.DiffRow
findDiffRowIn
(List<com.github.difflib.text.DiffRow> diffRow) int
com.github.difflib.text.DiffRow.Tag
getTag()
boolean
boolean
-
コンストラクタの詳細
-
DiffRowDescriptor
public DiffRowDescriptor(int listIndex, com.github.difflib.text.DiffRow diffRow)
-
-
メソッドの詳細
-
findDiffRowIn
-
getSequence
public int getSequence() -
getTag
public com.github.difflib.text.DiffRow.Tag getTag() -
isTaggedInsertedDeletedChanged
public boolean isTaggedInsertedDeletedChanged() -
isTaggedEqual
public boolean isTaggedEqual() -
equals
-
compareTo
- 定義:
compareTo
インタフェース内Comparable<DiffRowDescriptor>
-