question: returns the next available packet . the method call will block not return until a packet is available . concode_field_sep int maxPackets concode_elem_sep LinkedList<Packet> resultQueue concode_field_sep Packet pollResult concode_elem_sep void processPacket
target: Packet function ( ) { while ( resultQueue . isEmpty ( ) ) { try { wait ( ) ; } catch ( InterruptedException loc0 ) { } } return resultQueue . removeLast ( ) ; }