-
Java
说明: 设计模式一(单子、工厂、策略模式)练习
1. 假设现在要设计一个贩卖各类书籍的电子商务网站的购物车系统。对所有的教材类图书 实行每本一元的折扣;对连环画类图书提供每本7%的促销折扣;而对非教材类的计算机图书有3%的折扣;对其余书没有折扣。使用策略模式、工厂模式、单子模式进行设计(Design Mode 1 (List, Factory, Strategy Mode) Exercise
1. Suppose we are going to design a shopping cart system for e-commerce websites that sell all kinds of books. All textbook books are discounted at one yuan per book; comic books are discounted at 7% per book; computer books are discounted at 3% for non-textbook books; and other books are discounted at no rate. Design using strategy mode, factory mode and single mode)
- 2020-07-01 06:40:02下载
- 积分:1
-
怎么获取登陆的用户名
怎么获取登陆的用户名
- 2013-10-31下载
- 积分:1
-
Java虚拟机(第二版)
这是一本介绍java虚拟机的经典书籍,本书可供java入门者或是有一定java基础的人阅读。(This is a classic book about Java virtual machines.)
- 2020-06-18 21:20:01下载
- 积分:1
-
control_characters
Tests regular expressions containing.
- 2014-01-28 11:25:52下载
- 积分:1
-
rgc
FileInputReader接收键盘输入的字符串,用FileWirter类将字符串写入文件,用FileReader类读出文件内容显示在屏幕上。(FileInputReader receives the keyboard input string, writes the string to the file with the FileWirter class, reads the document content with the FileReader class, displays in the screen.)
- 2017-11-15 14:04:25下载
- 积分:1
-
YUV420SP-master
这个安卓源码包含两个工程,分别用JAVA 和 NDK 本地代码去实时转换摄像机的每帧颜色,可以用来了解、比较Java与NDK的效率的不同,对相关摄像机,NDK/JNI,颜色编程等技术有一定了解(The Android source code contains two projects, namely with JAVA and NDK native code to convert each frame in real time color video camera can be used to understand, compare the efficiency of Java and NDK different, the relevant camera, NDK/JNI, color programming technology have some understanding)
- 2014-01-05 15:36:14下载
- 积分:1
-
xmljava
xml和java做学生管理系统 你可以看一看(xml and ja va stu dent gua nli xi tong ni ke yi kan kan kan kan kan kan kanvvkankankan kan kan kan kan kan )
- 2013-11-04 14:31:31下载
- 积分:1
-
tuxingyasuo
图形压缩的Java脚本文档,采用的是动态规划算法(Java script compressed graphics files, using a dynamic programming algorithm)
- 2014-04-26 17:51:52下载
- 积分:1
-
java
给学JAVA的一些提示和警告,帮助学习和使用java,新手必读( )
- 2014-01-14 12:16:48下载
- 积分:1
-
ExamOne
说明: 字符串数组中的某个字符进行替换
统计每个数字出现的个数(A string array of characters in the replacement of Statistics figures for each number of)
- 2008-11-02 00:07:41下载
- 积分:1