L. Dolio Durant 6 лет назад
Сommit
a4d3ba256f
6 измененных файлов: 95 добавлений и 0 удалений
  1. 23
    0
      .gitignore
  2. 7
    0
      MainApplication.java
  3. 7
    0
      Product.java
  4. 7
    0
      ProductTest.java
  5. 26
    0
      README.md
  6. 25
    0
      package.bluej

+ 23
- 0
.gitignore Просмотреть файл

@@ -0,0 +1,23 @@
1
+# ---> Java
2
+# Compiled class file
3
+*.class
4
+
5
+# Log file
6
+*.log
7
+
8
+# BlueJ files
9
+*.ctxt
10
+
11
+# Mobile Tools for Java (J2ME)
12
+.mtj.tmp/
13
+
14
+# Package Files #
15
+*.jar
16
+*.war
17
+*.ear
18
+*.zip
19
+*.tar.gz
20
+*.rar
21
+
22
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23
+hs_err_pid*

+ 7
- 0
MainApplication.java Просмотреть файл

@@ -0,0 +1,7 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+/**
4
+ * Created by leon on 1/10/18.
5
+ */
6
+public class MainApplication {
7
+}

+ 7
- 0
Product.java Просмотреть файл

@@ -0,0 +1,7 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+/**
4
+ * Created by leon on 1/10/18.
5
+ */
6
+public class Product {
7
+}

+ 7
- 0
ProductTest.java Просмотреть файл

@@ -0,0 +1,7 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+/**
4
+ * Created by leon on 1/10/18.
5
+ */
6
+public class ProductTest {
7
+}

+ 26
- 0
README.md Просмотреть файл

@@ -0,0 +1,26 @@
1
+# Class Manager
2
+
3
+## Product Inventory Project 
4
+
5
+## Objectives
6
+
7
+1. To demonstrate your understanding of objects and functions
8
+2. To demonstrate your understanding of controlling execution
9
+3. To demonstrate your understanding of access control
10
+4. To demonstrate your understanding of reusing classes
11
+
12
+
13
+## Overview
14
+
15
+Create an application which manages an inventory of products. Create a product class which has a price, id, and quantity on hand. Then create an inventory class which keeps track of various products and can sum up the inventory value.
16
+
17
+## Unit Test
18
+
19
+UML is required
20
+Unit test in  place before proceeding with code
21
+
22
+## Instructions
23
+
24
+1. In your main class initialize your manager and populate your inventory
25
+2. Demonstrate calling methods on your manager
26
+3. Print all output to screen

+ 25
- 0
package.bluej Просмотреть файл

@@ -0,0 +1,25 @@
1
+#BlueJ package file
2
+editor.fx.0.height=722
3
+editor.fx.0.width=800
4
+editor.fx.0.x=560
5
+editor.fx.0.y=117
6
+objectbench.height=101
7
+objectbench.width=461
8
+package.divider.horizontal=0.6
9
+package.divider.vertical=0.8007380073800738
10
+package.editor.height=427
11
+package.editor.width=674
12
+package.editor.x=141
13
+package.editor.y=59
14
+package.frame.height=600
15
+package.frame.width=800
16
+package.numDependencies=0
17
+package.numTargets=0
18
+package.showExtends=true
19
+package.showUses=true
20
+project.charset=UTF-8
21
+readme.height=58
22
+readme.name=@README
23
+readme.width=47
24
+readme.x=10
25
+readme.y=10