returns true iff there is currently another object in the queue . concode_field_sep E[] q concode_elem_sep int index concode_field_sep E next concode_elem_sep QueueReader<E> clone concode_elem_sep void remove
boolean function ( ) { if ( q [ index ] == null ) return false ; if ( index == q . length - 1 ) { q = ( E [ ] ) q [ index ] ; index = 0 ; if ( q [ index ] == null ) return false ; } return true ; }