|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.test4j.tools.commons.TextDiffMatchPatch.Diff
public static class TextDiffMatchPatch.Diff
Class representing one diff operation.
| 字段摘要 | |
|---|---|
TextDiffMatchPatch.Operation |
operation
One of: INSERT, DELETE or EQUAL. |
String |
text
The text associated with this diff operation. |
| 构造方法摘要 | |
|---|---|
TextDiffMatchPatch.Diff(TextDiffMatchPatch.Operation operation,
String text)
Constructor. |
|
| 方法摘要 | |
|---|---|
boolean |
equals(Object obj)
Is this Diff equivalent to another Diff? |
int |
hashCode()
Create a numeric hash value for a Diff. |
String |
toString()
Display a human-readable version of this Diff. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public TextDiffMatchPatch.Operation operation
public String text
| 构造方法详细信息 |
|---|
public TextDiffMatchPatch.Diff(TextDiffMatchPatch.Operation operation,
String text)
operation - One of INSERT, DELETE or EQUAL.text - The text being applied.| 方法详细信息 |
|---|
public String toString()
Object 中的 toStringpublic int hashCode()
Object 中的 hashCodepublic boolean equals(Object obj)
Object 中的 equalsobj - Another Diff to compare against.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||