What does it mean “Analysis of a text file or data stream” and is it applied using serializable

This is my second post, and now I'm used to the function of things! it is rather a theory issue for computer science, but, my question is, what does this mean?

'' Analysis of a text file or data stream

This is an assignment, and the books and web sources I consulted are old or vague. I implemented a serializable interface in SinglyLinkedList that saves / loads a file to / from disk so that it can be transferred / edited and accessed later. Does this sufficient achievement of a rather vague requirement?

what to consider when considering this issue:

  • This requirement is one of many for the project that I am implementing.
  • The single linked list that I use is custom-made - I know that the finished Java version is better, but I have to show my skills.
  • all methods work - I tested them - this is just a documentation issue
  • I use ObjectOutputStream, FileOutputStream, ObjectInputStream and FileInputStream and the corresponding methods for reading / writing an object. Singlely linked list

I would be grateful for the feedback

+4
source share
1 answer

The process of “parsing” can be described as reading in some form of data stream and building a model in memory or presenting the semantic content of this data to facilitate the implementation of any data transformation.

Some examples:

  • The compiler analyzes the source code (usually) to create an abstract syntax tree of code in order to generate the code of the object (or byte) for execution by the machine.
  • The interpreter does the same, but the syntax tree is then directly used to control the execution (some interpreters are mashup of bytecode generators and virtual machines and can generate intermediate bytecode).
  • The CSV parser reads a stream structured according to CSV rules (commas, quoting, etc.) to retrieve the data elements represented by each line in the file.
  • The JSON or XML parser performs a similar operation for JSON or XML encoded data, creating a representation in memory of the semantic values ​​of data elements and their hierarchical relationships.
+2
source

All Articles