code: private void readObject(java.io.ObjectInputStream s)
          throws java.io.IOException, ClassNotFoundException {
          s.defaultReadObject();
          if (waitingProducers instanceof FifoWaitQueue)
              transferer = new TransferQueue<E>();
          else
              transferer = new TransferStack<E>();
      }
docs: Reconstitutes this queue from a stream (that is, deserializes it).
  @param s the stream
  @throws ClassNotFoundException if the class of a serialized object
  could not be found
  @throws java.io.IOException if an I/O error occurs