void function ( E arg0 ) { Node loc0 = new Node ( arg0 , head , null ) ; if ( head != null ) { head . prev = loc0 ; } head = loc0 ; if ( tail == null ) { tail = loc0 ; } size ++ ; System . out . println ( "srini_string" + arg0 ) ; }
adds element at the starting of the linked list concode_field_sep Node head concode_elem_sep Node next concode_elem_sep int size concode_elem_sep Node tail concode_elem_sep Node prev concode_elem_sep E element concode_field_sep void addLast concode_elem_sep void iterateBackward concode_elem_sep int size concode_elem_sep void iterateForward concode_elem_sep E removeFirst concode_elem_sep boolean isEmpty concode_elem_sep void main concode_elem_sep E removeLast