public class DiffOtherContent extends java.lang.Object implements DiffFileEntity
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
content
the content of the line.
|
| Constructor and Description |
|---|
DiffOtherContent(java.lang.String content)
Creates a DiffOtherContent with the given content.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContent() |
int |
hashCode() |
boolean |
hasSameContent(DiffFileEntity line) |
java.lang.String |
toString() |
public DiffOtherContent(java.lang.String content)
content - the contentpublic java.lang.String getContent()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean hasSameContent(DiffFileEntity line)
hasSameContent in interface DiffFileEntityline - the other line to compare