public abstract class AbstractDifferenceList extends Object implements IDifferenceList
| Modifier and Type | Field and Description |
|---|---|
protected List<IDifference> |
differences |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDifferenceList() |
| 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()
|
protected List<IDifference> differences
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 IDifferencepublic void addChildren(List<IDifference> children)
IDifferences as child to this tree.addChildren in interface IDifferenceListchildren - a List of IDifferences to add to this IDifferencepublic Iterable<IDifference> getChildren()
getChildren in interface IDifferenceListIterable implementation with all childrenpublic int childCount()
IDifference.childCount in interface IDifferenceListCopyright © 2021. All rights reserved.