Final Group or Individual Project for CSC172
Create
a file based inventory system. This system will be built as a series of
assignments, with a few enhancements at the end of the semester:
Some
intermediate assignments planned:
- Arraylist and File Processing:
Create a single file inventory list that is held in a file and updated by
the user. Add, change and delete
(all internally as rewriting the entire file). The file should be comma
separated.
- Sets: Use a set to determine how many
values the inventory has in one of the inventory attributes.
- Treemap: Allow the
user to print the number of items that have each value inside an
attribute.
- Sort:
Allow the user to determine which column to sort when printing a
list of all inventory items, and also give the user an option to
reorganize the items in the file in item number order
- Searching: Give the user an option to
search for a certain item quality. Use a binary search to implement this
The
final project submission needs to include:
- Menu of options including:
- add an item
- change an item
- delete an item
- one inventory attribute analysis –
enter attribute
- for one item
attribute (such as color), print each value and a count of how many
items have each value.
- Display a list with different sort
options
- find an item with a certain quality –
using binary search
- Code attributes:
- Good use of object oriented design –
divide responsibilities into logically reasonable classes
- Need an item, itemList, itemManager,
and Comparator class as a minimum. They can have names that are
appropriate for your project
o
Testing
§ Tester
class with a few good test methods
o
Strong program documentation
§ internal
·
javadoc
generation
·
functions well described in javadoc
·
clear parameter names
·
meaningful
internal comments that would help another maintain your code.