void setChild ( int index , Node child ) { if ( ( this . splitTest . maxBranches ( ) >= 0 ) && ( index >= this . splitTest . maxBranches ( ) ) ) { throw new IndexOutOfBoundsException ( ) ; } this . children . set ( index , child ) ; }
Method to set the children in a specific index of the SplitNode with the appropriate child