code: private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
    {
      s.defaultReadObject();
      if (words == null) {
        reset();
        return;
      }
      lastWordIndex = words.length - 1;
      updateLast();
      size = -1;
    }
docs: Reconstruct the instance from a stream