- 浏览: 197963 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (124)
- java (25)
- 项目学习 (7)
- Web JSP (14)
- English study (1)
- windows (17)
- Thinking in Java (2)
- SSD4 VB (1)
- VB.NET (9)
- CSS (11)
- JQuery (4)
- Struts2 (0)
- spring (1)
- Hibernate (1)
- Dojo (0)
- Prototype (0)
- JSON (1)
- Ajax (1)
- my life my computer (1)
- html (1)
- JavaCC (0)
- c# (1)
- C/C++ (1)
- SQL (0)
- PS (1)
- Linux (21)
- Flex (1)
- mysql (1)
最新评论
-
wshy33:
按照这个“去掉/jre/lib/ext/目录下的jaxen.j ...
xpath的使用遇到的问题 -
白色蜻蜓:
什么是ssh
Linux ---SSH密钥问题解决 -
lucane:
今天请教R大一个问题,然后用他提到的hsdis跑代码看,但是我 ...
JVM 反汇编动态运行代码 -
igotti:
原来-XX:+PrintAssembly还需要安装插件
JVM 反汇编动态运行代码 -
RednaxelaFX:
嗯Good,继续有新的同好开始鼓捣这些东西真好 ^_^我在编译 ...
JVM 反汇编动态运行代码
Background
This assignment asks you to model a coffee store application.
Description
Gourmet Coffee is a store that sells coffee from countries around the globe. It also sells coffee brewing machines and other accessories for coffee consumption. The Gourmet Coffee System maintains a product catalog, processes orders, and tracks the store's sales.
The catalog maintains the following information about the store's products:
The following tables show some of the products sold by Gourmet Coffee.
Figure 1 Coffee
Figure 2 Coffee brewers
Figure 3 Coffee accessories
The Gourmet Coffee System processes orders. An order contains a list of products, their quantities, and the total cost. The following is an example of an order:
Figure 4 Order
In the Gourmet Coffee System, the user can:
Files
Following is a sample executable of the Gourmet Coffee System.
gourmet-coffee-sample-executable.jar — Download this file now. It is a sample executable.
Tasks
These steps will guide you for completing this assignment:
First, run the sample executable by issuing the following command at the command prompt:
C:\>java -jar gourmet-coffee-sample-executable.jar
Then, follow the technique described in page 1.2.5 Modeling Classes to model the Gourmet Coffee System.
Identify the following:
The classes
The association relationships (include direction, multiplicity, and association attribute)
The specialization/generalization relationships
The attributes of each class
The methods of each class
Your class diagram should include:
The class of the gourmet coffee application
The accessor methods
The mutator methods if are needed
For the collections:
The methods to add and access elements
The methods to remove elements if are needed
The methods that compute other values not included in the attributes.
Use Sun's coding conventions when naming classes, methods, and attributes.
Use Eclipse, Violet, PowerPoint, or another tool of your choosing to draw a UML class diagram.
Save the UML class diagram in a SVG, GIF, or JPG format in a file named uml-gou-cof.
下面是提交的UML图片..
This assignment asks you to model a coffee store application.
Description
Gourmet Coffee is a store that sells coffee from countries around the globe. It also sells coffee brewing machines and other accessories for coffee consumption. The Gourmet Coffee System maintains a product catalog, processes orders, and tracks the store's sales.
The catalog maintains the following information about the store's products:
- Code
- Description
- Price
- Country of origin
- Type of roast
- Flavor
- Aroma
- Acidity
- Body
[--]Coffee
- Code
- Description
- Price
- Model of the brewer
- Type of the water supply: Pour-over or Automatic
- Capacity: number of cups
[---]Coffee brewer
- Code
- Description
- Price
[---]Coffee accessory
The following tables show some of the products sold by Gourmet Coffee.
Figure 1 Coffee
Figure 2 Coffee brewers
Figure 3 Coffee accessories
The Gourmet Coffee System processes orders. An order contains a list of products, their quantities, and the total cost. The following is an example of an order:
Figure 4 Order
In the Gourmet Coffee System, the user can:
- Display the catalog: lists the code and description of each product
- Display a product
- Display the current order: lists quantity, code, and price of each product in the current order, and the total of the order.
- Add a product to the current order—if the specified product is already part of the order, this command will modify the quantity of that product
- Remove a product from the current order
- Register the sale of the current order—this command adds the order to the store's sales and empties the current order
- Display the sales: lists all the orders that have been sold
- Run the sample executable that is provided to learn more about the Gourmet Coffee System.
Files
Following is a sample executable of the Gourmet Coffee System.
gourmet-coffee-sample-executable.jar — Download this file now. It is a sample executable.
Tasks
These steps will guide you for completing this assignment:
First, run the sample executable by issuing the following command at the command prompt:
C:\>java -jar gourmet-coffee-sample-executable.jar
Then, follow the technique described in page 1.2.5 Modeling Classes to model the Gourmet Coffee System.
Identify the following:
The classes
The association relationships (include direction, multiplicity, and association attribute)
The specialization/generalization relationships
The attributes of each class
The methods of each class
Your class diagram should include:
The class of the gourmet coffee application
The accessor methods
The mutator methods if are needed
For the collections:
The methods to add and access elements
The methods to remove elements if are needed
The methods that compute other values not included in the attributes.
Use Sun's coding conventions when naming classes, methods, and attributes.
Use Eclipse, Violet, PowerPoint, or another tool of your choosing to draw a UML class diagram.
Save the UML class diagram in a SVG, GIF, or JPG format in a file named uml-gou-cof.
下面是提交的UML图片..
发表评论
-
JVM 反汇编动态运行代码
2011-05-11 21:15 3692Java HotSpot(TM) Server VM warn ... -
Android rpg 游戏开发
2011-04-23 15:36 2491Android 游戏开发 记录点滴 rpg 游戏的地图 ... -
xpath的使用遇到的问题
2011-01-06 20:40 3021org.dom4j.InvalidXPathException ... -
Boolean的构造函数,你懂的
2010-11-27 20:52 1251学java不看源码是上不了一个等级的! ========== ... -
maven project 转化为eclipse project
2010-10-10 16:42 1516There is actually a very easy s ... -
UDAS
2010-09-24 12:31 1113UDAS 的全称:uniform data access s ... -
Java备忘
2010-05-02 09:12 1364/////////////////////////////// ... -
Java 虚拟机
2010-05-01 12:50 908//////////////////////////// ... -
cmm解释器--java实现
2010-04-18 13:02 1535目录: cmm编译器-cmm 语言词法分析-java实现 ... -
cmm编译器-cmm 语言LL1解释器构造-java实现
2010-04-18 12:57 2270附件是整个实验的文档和代码(由三人Hyvi,Heger,AJ负 ... -
cmm编译器-cmm 语言LL1语法分析-java实现
2010-04-18 12:11 2563cmm编译器-cmm 语言LL1语法分析-java实现 附件 ... -
cmm编译器-cmm 语言语法分析-javacc实现
2010-04-18 12:01 5508Cmm的文法: //程序开始 programàstmt-s ... -
cmm编译器-cmm 语言词法分析-java实现
2010-04-18 11:51 2836词法设计理念 1. 注释处理: 在处理注释的问题 ... -
Linux 下 Java环境的详细信息
2010-03-14 01:08 1284先把代码贴上: 1 import java.uti ... -
神奇的“按钮”
2010-03-11 23:12 890早期的反模式:神奇的按钮 神奇的Servlet ... -
RUBY
2009-06-10 14:23 989# rail:良好的惯例高于配 ... -
switch 与default 与break
2009-02-19 21:36 1128public class B { public s ... -
2008期末Collections&arrays总结
2009-01-16 00:48 889全部是静态方法 public static int binar ... -
2008年期末考试复习总结
2009-01-15 17:13 843类成员访问修饰符与继承的关系 私有的(private)类成员 ... -
SingleTon
2008-11-07 13:34 883大二期--中考试Java程序设计最后一题如下 Write do ...
相关推荐
SSD5 Recommended Exercise 2 数据结构SSD5 Recommended Exercise 2 数据结构SSD5 Recommended Exercise 2 数据结构SSD5 Recommended Exercise 2 数据结构SSD5 Recommended Exercise 2 数据结构SSD5 Recommended ...
Exercise2可能包含了创建类图、序列图、活动图等UML图表的实践练习。 3. 设计模式:设计模式是解决常见软件设计问题的最佳实践。SSD3可能会讲解一些常见的设计模式,如工厂模式、单例模式、观察者模式等,并让学生...
Exercise2作为课程的一部分,通常会涉及实际编程任务,以帮助学生巩固理论知识并提升实践技能。 在SSD8 Exercise2中,学生们可能被要求解决一系列与软件开发相关的挑战。这些挑战可能涉及到以下几个方面: 1. **...
在这个课程中,Exercise 2可能是一个关于编程、算法或系统设计的实践任务。由于提供的信息有限,我将根据常见的SSD3练习内容,结合源代码这一关键词,来探讨可能涵盖的知识点。 1. 数据结构与算法:在SSD3级别的...
"Exercise2" 是该课程的一个实践环节,目的是让学生通过实际操作来巩固所学理论,并提升对软件开发流程的理解。 本次练习中,我们有两个关键文件:"uml-gou-cof.jpg" 和 "exercise2.violet"。首先,"uml-gou-cof....
SSD8,全称可能指的是Solid State Drive 8系列,是一个与存储技术相关的课程或项目的代号,这里的"exercise2"则可能代表该课程或项目中的第二个练习或实验环节。由于提供的信息有限,我们将主要围绕固态硬盘(Solid ...
在Exercise 2中,我们可能涉及到了该方法论的某些关键步骤,以及如何将它们应用于实际问题解决。在这个练习中,我们将深入探讨SSD8的核心概念,并分享一个获得高分的答案策略。 1. **需求分析**:这是SSD8的第一步...
【SSD8 Exercise2 知识点详解】 SSD8(Software Systems Development 8)是软件系统开发课程的一部分,Exercise2则是一个针对该课程的练习题。本解答提供了满分答案,且包含详细注释,旨在帮助学生更好地理解和完成...
"ssd 4 exercise2"可能是一个关于SSD技术的练习或项目,可能是针对学生或专业人士进行的,目的是深化对SSD工作原理、优化方法或故障排查的理解。 在这个练习2中,我们可能探讨以下几个关键知识点: 1. SSD架构:...
SSD3 Exercise 2是一个可能涉及存储系统、固态硬盘(Solid State Drive)技术或相关课程练习的学术活动。从标题和描述来看,这似乎是一个关于SSD3课程的第二部分练习,其中包含了获得满分解答的详细内容。由于具体...
【标题】:“ssd5 exercise2” 是一个与数据结构相关的练习题目,可能源自某门课程,如“SSD5(可能表示数据结构与算法第五版或者类似的课程代码)”。这个练习题涉及到序列容器(seqcc)和I Carnageyi(可能是...
SSD3 Exercise 2是关于计算机科学或者数据存储领域的练习题目集,可能涉及到固态硬盘(Solid State Drive, SSD)的原理、性能优化、故障排查等多个方面。由于没有提供具体的题目内容,我会根据常见的SSD相关知识点...
SSD7 Exercise2是关于固态存储技术(Solid State Drives)的一个练习题目集,主要涉及固态硬盘的原理、性能优化以及相关的技术概念。在这个练习中,学生可能需要掌握以下关键知识点: 1. 固态存储基础: - 存储...
【标题】"ssd5 exercise2答案"涉及的是一个与SSD5(可能是课程或软件相关的编号)相关的练习,特别是Exercise2部分。这个练习可能是一个编程任务,要求学生完成特定的功能,而答案则是指学生在解决这个任务时的实现...
SSD7 Exercise2是CMU(卡内基梅隆大学)数据库系统课程的第二部分练习,这个练习旨在帮助学生深入理解和掌握数据库系统的关键概念和技术。在这个练习中,学生可能会涉及多个知识点,包括但不限于: 1. **关系数据...
SSD3 exercise2 答案 保证正确 SSD3 exercise2 答案 保证正确 SSD3 exercise2 答案 保证正确 SSD3 exercise2 答案 保证正确SSD3 exercise2 答案 保证正确
SSD7 Exercise2 是一个可能涉及固态存储技术(Solid State Drives)的学习或课程练习,其中涵盖了关于SSD的工作原理、性能优化、故障诊断和维护等多个方面的知识点。在这个练习中,学生通常会通过一系列的问题解答来...
在“Exercise 2”中,可能要求学员进行实际操作,比如测试SSD性能、分析不同文件系统的差异,或者配置系统以优化SSD使用。通过这个练习,学员可以深化对SSD技术的理解,并掌握如何在实践中提升存储系统的效率。