Interface IDifferenceList
-
- All Superinterfaces:
IDifference
- All Known Implementing Classes:
AbstractDifferenceList
,BooleanArrayDifference
,ChemObjectDifference
,Point2dDifference
,Point3dDifference
public interface IDifferenceList extends IDifference
- Author:
- egonw
- Source code:
- main
- Belongs to CDK module:
- diff
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChild(IDifference childDiff)
Adds a newIDifference
as child to this tree.void
addChildren(List<IDifference> children)
Adds multipleIDifference
s as child to this tree.int
childCount()
Returns the number of children of thisIDifference
.Iterable<IDifference>
getChildren()
-
-
-
Method Detail
-
addChild
void addChild(IDifference childDiff)
Adds a newIDifference
as child to this tree. For example, anIAtom
difference would have a child difference forPoint2d
.- Parameters:
childDiff
- childIDifference
to add to thisIDifference
-
addChildren
void addChildren(List<IDifference> children)
Adds multipleIDifference
s as child to this tree.- Parameters:
children
- aList
ofIDifference
s to add to thisIDifference
-
getChildren
Iterable<IDifference> getChildren()
- Returns:
- an
Iterable
implementation with all children
-
childCount
int childCount()
Returns the number of children of thisIDifference
.- Returns:
- an int reflecting the number of children
-
-