class FairQueue implements BlockingQueue<E> {

   @Override
   public E element ()
   {
      E x = peek ();
      if (x != null)
      {
         return x;
      }
      else
      {
         throw new NoSuchElementException ();
      }
   }

   public  FairQueue();

}