removing element from queue concode_field_sep Node head concode_elem_sep Node next concode_elem_sep Double value concode_field_sep boolean add concode_elem_sep Double getValue concode_elem_sep void setValue concode_elem_sep void setNext concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep void main concode_elem_sep Node getNext concode_elem_sep Double peek
Double function ( ) { if ( head != null ) { Double loc0 = head . value ; head = head . next ; return loc0 ; } else return null ; }