|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.danielbechler.diff.path.Element
de.danielbechler.diff.path.RootElement
public final class RootElement
Method Summary | |
---|---|
boolean |
equals(Object element)
Must be implemented in a way so that this element can be distinguished from the other ones. |
static RootElement |
getInstance()
|
int |
hashCode()
Make sure to implement this properly. |
String |
toString()
The string representation will only be used to print readable property paths for debug purposes. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static RootElement getInstance()
public boolean equals(Object element)
Element
equals
in class Element
element
- The object to check equality against.
true
is the given object equals this one, otherwise false
.public int hashCode()
Element
0
.
hashCode
in class Element
public String toString()
Element
toString
in class Element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |