public byte [ ] remove ( ) throws Exception { byte [ ] bytes = internalElement ( true , null ) ; if ( bytes == null ) { throw new NoSuchElementException ( ) ; } return bytes ; }
Attempts to remove the head of the queue and return it .