public interface IStructureComparator
Clients typically implement this interface in an adaptor class which wrappers the objects to be compared.
ResourceNode,
Differencer| Modifier and Type | Method and Description |
|---|---|
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. |
Object[] getChildren()
null
if there are no children.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 Objectother - the reference object with which to comparetrue if this object is the same as the other argument; false otherwiseObject.equals(java.lang.Object)Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.