void function ( int arg0 ) { if ( top == 0 ) { throw new EmptyStackException ( ) ; } values [ top - 1 ] = arg0 ; }
replace the top value on the stack with the given value . this is equivalent to stack.pop ; stack.push value ; concode_field_sep int top concode_elem_sep int[] values concode_elem_sep int DEFAULT_INITIAL_CAPACITY concode_field_sep int pop concode_elem_sep int size concode_elem_sep void clear concode_elem_sep boolean isEmpty concode_elem_sep void increment concode_elem_sep String toString concode_elem_sep void push concode_elem_sep int peek