void function ( Stack < T > arg0 ) { elements . clear ( ) ; elements . addAll ( arg0 . elements ) ; length = elements . size ( ) ; }
replace all elements in the stack with the elements of another given stack . it first removes all the elements currently in the stack , and then adds all the elements of the provided stack . concode_field_sep ArrayList<T> elements concode_elem_sep int length concode_elem_sep long serialVersionUID concode_field_sep T pop concode_elem_sep List subList concode_elem_sep void set concode_elem_sep T last concode_elem_sep void addAll concode_elem_sep void clear concode_elem_sep void push concode_elem_sep void push concode_elem_sep T element concode_elem_sep String getRevision