boolean function ( int arg0 ) { Node < Type > loc0 = head ; for ( int loc1 = 1 ; loc1 < arg0 ; ++ loc1 ) { if ( loc0 == tail ) { return false ; } loc0 = loc0 . next ; } if ( ( loc0 . next != null ) && ( loc0 . next . next != null ) ) { loc0 . next = loc0 . next . next ; } else { loc0 . next = null ; tail = loc0 ; } return true ; }
adds an element at the end of the sll concode_field_sep Node<Type> head concode_elem_sep Node<Type> next concode_elem_sep Type data concode_elem_sep Node<Type> tail concode_field_sep void clear concode_elem_sep String toString concode_elem_sep int addElement concode_elem_sep int addElement