public final int addChild ( Task < E > child ) { int index = addChildToTask ( child ) ; if ( tree != null && tree . listeners != null ) tree . notifyChildAdded ( this , index ) ; return index ; }
This method will add a child to the list of this task s children