E function ( ) { if ( size == 0 ) throw new NoSuchElementException ( ) ; Node loc0 = tail ; tail = tail . prev ; tail . next = null ; size -- ; System . out . println ( "srini_string" + loc0 . element ) ; return loc0 . element ; }
this method removes element from the end 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 void addFirst