Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement