a guest Oct 16th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In a text file versioning system (a system that takes into account the contents of the file but also
  2. the contents of the file before each change), a file is represented as an object.
  3. Such an object is characterized by its name (String), content (String) and unique id (int) of
  4. object. The content and file name are set when creating the object using a constructor.
  5. The identifier must also be set when creating the object using a mechanism implemented by you and
  6. it must be transparent to the client of a file object (that is, for example, id value not
  7. must be given by the customer through the manufacturer, etc.). Each file also contains a reference in its state
  8. to another file object that represents the previous version of the current file object. When creating
  9. for a file object, it has no previous versions.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand