|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used to compare hierarchical structures. It is used by the differencing engine.
Clients typically implement this interface in an adaptor class which wrappers the objects to be compared.
ResourceNode
,
Differencer
Method Summary | |
boolean |
equals(Object other)
Returns whether some other object is "equal to" this one with respect to a structural comparison. |
Object[] |
getChildren()
Returns an iterator for all children of this object or null
if there are no children. |
Method Detail |
public Object[] getChildren()
null
if there are no children.
public boolean equals(Object other)
equals
would return true
if two methods have the same signature (the argument names and the
method body might differ).
equals
in class Object
other
- the reference object with which to compare
true
if this object is the same as the other argument; false
otherwiseObject.equals(java.lang.Object)
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |