@TestClass(value="org.openscience.cdk.tools.diff.tree.AbstractDifferenceListTest") public abstract class AbstractDifferenceList extends Object implements IDifferenceList
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(IDifference childDiff)
Adds a new
IDifference as child to this tree. |
void |
addChildren(List<IDifference> children)
Adds multiple
IDifferences as child to this tree. |
int |
childCount()
Returns the number of children of this
IDifference. |
Iterable<IDifference> |
getChildren()
|
@TestMethod(value="testAddChild") public void addChild(IDifference childDiff)
IDifference as child to this tree. For example, an IAtom difference
would have a child difference for Point2d.addChild in interface IDifferenceListchildDiff - child IDifference to add to this IDifference@TestMethod(value="testChildDiffs") public void addChildren(List<IDifference> children)
IDifferences as child to this tree.addChildren in interface IDifferenceList@TestMethod(value="testChildDiffs") public Iterable<IDifference> getChildren()
getChildren in interface IDifferenceListIterable implementation with all children@TestMethod(value="testAddChild") public int childCount()
IDifference.childCount in interface IDifferenceList