public void jjtAddChild ( final Node aNode , final int nIndex ) { if ( m_aChildren == null ) m_aChildren = new CSSNode [ nIndex + 1 ] ; else if ( nIndex >= m_aChildren . length ) { // Does not really occur here final CSSNode [ ] aTmpArray = new CSSNode [ nIndex + 1 ] ; System . arraycopy ( m_aChildren , 0 , aTmpArray , 0 , m_aChildren . length ) ; m_aChildren = aTmpArray ; } m_aChildren [ nIndex ] = ( CSSNode ) aNode ; }
Called from the highest index to the lowest index!