check if there is any item in the queue concode_field_sep boolean isExpectNoMoreItems concode_elem_sep int averageSize concode_elem_sep int expectedQueueSize concode_elem_sep WakeableLooper producer concode_elem_sep LinkedTransferQueue<E> buffer concode_elem_sep int expectedAvailableCapacity concode_elem_sep double currentSampleWeight concode_elem_sep WakeableLooper consumer concode_elem_sep int capacity concode_field_sep void init concode_elem_sep void setConsumer concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep void informProducer concode_elem_sep int getExpectedAvailableCapacity concode_elem_sep void expectMoreItems concode_elem_sep void setProducer concode_elem_sep int drainTo concode_elem_sep int drainTo concode_elem_sep E peek concode_elem_sep void informConsumer concode_elem_sep boolean offer concode_elem_sep int size concode_elem_sep void expectNoMoreItems concode_elem_sep int remainingCapacity concode_elem_sep int getCapacity concode_elem_sep void updateExpectedAvailableCapacity
E function ( ) { E loc0 = buffer . poll ( ) ; if ( producer != null ) { producer . wakeUp ( ) ; } return loc0 ; }