removes all elements from this queue and adds them to the given collection . concode_field_sep int maxCapacity concode_elem_sep AtomicInteger writeBehindQueueItemCounter concode_elem_sep WriteBehindQueue<E> queue concode_field_sep void filter concode_elem_sep void addLast concode_elem_sep boolean contains concode_elem_sep int size concode_elem_sep void clear concode_elem_sep void addCapacity concode_elem_sep boolean removeFirstOccurrence concode_elem_sep void throwException concode_elem_sep void addFirst concode_elem_sep List<E> asList concode_elem_sep E peek
int function ( Collection < E > arg0 ) { int loc0 = queue . drainTo ( arg0 ) ; addCapacity ( - loc0 ) ; return loc0 ; }