code: public byte[] element() throws Exception
      {
          byte[] bytes = internalElement(false, null);
          if ( bytes == null )
          {
              throw new NoSuchElementException();
          }
          return bytes;
      }
docs: Return the head of the queue without modifying the queue.
  
  @return the data at the head of the queue.
  @throws Exception errors
  @throws NoSuchElementException if the queue is empty