public void push ( ICMLModule item ) { if ( sp == stack . length ) { ICMLModule [ ] temp = new ICMLModule [ 2 * sp ] ; System . arraycopy ( stack , 0 , temp , 0 , sp ) ; stack = temp ; } stack [ sp ++ ] = item ; }
Adds an entry to the stack .