addChildBoundable method

void addChildBoundable(
  1. Boundable childBoundable
)

Adds either an AbstractNode, or if this is a leaf node, a data object (wrapped in an ItemBoundable)

@param childBoundable the child to add

Implementation

void addChildBoundable(Boundable childBoundable) {
  Assert.isTrue(bounds == null);
  childBoundables.add(childBoundable);
}