void function ( Item arg0 ) { if ( arg0 == null ) throw new NullPointerException ( "srini_string" ) ; Node loc0 = first ; first = new Node ( ) ; first . arg0 = arg0 ; first . next = loc0 ; first . prev = null ; if ( last == null ) last = first ; else loc0 . prev = first ; }
adds an element at the front of the queue . concode_field_sep Node next concode_elem_sep Item item concode_elem_sep Node last concode_elem_sep Node prev concode_elem_sep Node first concode_elem_sep Node current concode_field_sep Item next concode_elem_sep void addLast concode_elem_sep Iterator<Item> iterator concode_elem_sep int size concode_elem_sep Item removeFirst concode_elem_sep boolean isEmpty concode_elem_sep boolean hasNext concode_elem_sep Item removeLast concode_elem_sep void remove