Clarifications
-
The report for each client must be sorted by client id.
-
You can assume that the specified output file (e.g., resultsExamples.txt) will
be re-written (no append of results) if the same name is used several times.
-
We will use different names for output files (not just resultsExamples.txt).
-
We are planning to change the items present in the file itemsData.txt
-
There could be items in the file itemsData.txt that no one buys.
-
You can assume orders will only have items present in the itemsData.txt file (no
invalid data)
-
The file names will always start at 1 up to including the number of orders.
-
Remember that we are planning to use base file names different than order or example.
For example, we can provide files names myNewOrder1.txt, myNewOrder2.txt, etc.
-
To include your report in your project, just drag the file on top of the project
name. Remember to refresh your project (Eclipse, right-click refresh).
-
To compare files in Eclipse, you can right-click on a file and select "Compare With".
-
The performance of your program using multiple threads should be better than using
a single thread.
-
Remember to follow exactly (except for spaces) the format associated with
the file resultsExample.txt. We know there are inconsistencies in the format
(for example, total is not capitalized for the final summary, cost per item
lacks two decimal places under summary, etc.) By using the same format (with
inconsistencies) you will help us during grading.
-
IMPORTANT Due to space problems, please perform the following:
- Remove any text files you may have created to test your project or
the largeSet of files we briefly posted.
- Save your project.
- Right-click on your project, select Properties, Course Project Management
and the uncheck "Automatically keep project in sync with the
repository via CVS". This will avoid saving large files in CVS that
are causing system problems.
- You can now create your own text files to test your code and
they will not be stored in the cvs location.
- IMPORTANT
Before submitting your project, remove
all the data order* file and largerSet* files, or any other data files you may have
created. If you have problems submitting your project upload the project
(WITHOUT ANY TEXT FILES) to the submit server.
- IMPORTANT
If you cannot check out the project distribution, download it from the the
following link:
Project Distribution
-
To print currency use NumberFormat.getCurrencyInstance().format(AMOUNT_HERE).
-
The final summary must include even those items that have not being bought.
-
You cannot use classes that are automatically synchronized, but using the
synchronized construct with a lock is OK.
-
Some students have indicated that after dragging the report to the Eclipse
project and submitting the project, they cannot see the report after downloading
the project from the submit server. If that is the case try:
- After dragging the report, right-click on the project, and select
Team->Commit. Submit as usual and then check again.
- If the above choice does not work, put the report at the top of
OrdersProcessor.java
- NEW
A Big Mass-data Folder data set is now available at
BMF Data Set. Make sure you read the above entries labeled IMPORTANT before using this data set.
-
In case you overwrite the resultsExample.txt file provided with the code distribution, you
can download the file at resultsExample.txt
Web Accessibility