void function ( int arg0 ) { if ( isFull ( ) ) { throw new QueueFullException ( ) ; } size ++ ; queue [ rear ] = arg0 ; rear = ( rear + 1 ) % capacity ; }
enqueues the data provided to the rear of the queue . concode_field_sep int rear concode_elem_sep int[] queue concode_elem_sep int size concode_elem_sep int front concode_elem_sep int capacity concode_field_sep int dequeue concode_elem_sep boolean isEmpty concode_elem_sep String toString concode_elem_sep boolean isFull