public void setChild ( int idx , int alphabetSize , Node < I > child ) { if ( children == null ) { children = new ResizingArrayStorage <> ( Node . class , alphabetSize ) ; } children . array [ idx ] = child ; }
Sets the child for a given index .