登录
首页 » Java » Java

Java

于 2020-07-01 发布 文件大小:1KB
0 239
下载积分: 1 下载次数: 1

代码说明:

  设计模式一(单子、工厂、策略模式)练习 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)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • axis2webservice
    AXIS2之WEBSERVICE新手超详细教程(AXIS2 the novice super detailed tutorial WEBSERVICE)
    2013-12-26 22:23:58下载
    积分:1
  • 200611565948742
    点对点聊天,很不错的,又称图形界面下的点对点通信程序(peer-to-peer chatting, very good, also known as the graphical interface of peer-to-peer communication program)
    2007-04-28 02:15:48下载
    积分:1
  • Myframe
    五子棋 Java版,带规则 .java文件,可直接查看,已经测试(Java version of backgammon with the rules. Java files, you can directly view, has been tested)
    2011-11-24 20:22:02下载
    积分:1
  • Java_compressfile
    一个简单的文件压缩解压缩工具(JAVA语言)(脪 禄赂 枚 录 貌渭 楼 渭脛脦脛 录 镁脩 鹿 脣玫 陆 芒脩 鹿 脣玫 鹿 陇 戮 脽 拢 篓 JAVA脫茂脩脭 拢 漏)
    2008-08-22 11:00:48下载
    积分:1
  • sCREENsIZE
    Returns the enum for matching the provided qualifier value.
    2014-01-13 18:39:28下载
    积分:1
  • SIM
    说明:  SIM卡信息读取可以获取设备编号、软件版本、运营商代号、运营商名称、手机制式、设备位置等(software version, carrier code, carrier name, mobile phone system, device location, etc.)
    2020-03-13 00:13:04下载
    积分:1
  • pojo
    This is an example POJO Web service. It shows how to expose the methods of a Java class as a Web service using Aixs2.
    2017-05-07 01:08:22下载
    积分:1
  • Lopez-Valenzuela
    Un Block Me solve with heuristics and BFS search.
    2013-12-23 05:48:34下载
    积分:1
  • midp_ketris
    说明:  MIDP实现的 俄罗斯方块游戏源码,含游戏画布和封装下坠物对象及其操作类,重画线程,该线程实现游戏画布重画机制,用2个变量是用来控制游戏速度(The source code of the Tetris game implemented by MIDP, including the game canvas and the encapsulated falling object and its operation class, redraw thread, the thread implements the game canvas redraw mechanism, and uses 2 variables to control the game speed)
    2020-06-07 12:17:47下载
    积分:1
  • ipdatabase-master
    ipdatabase 二叉树快速搜索IP地址数据库 数据 数据源采用2015年广告协会制定的IP地址标准数据库,中国互联网广告行业统一采用的标准IP库。 原理 利用二叉树实现IP查询,首先将10进制IPV4地址转化为二进制构建二叉树,利用二叉树搜索进行搜索,查询时间复杂度log2n,比传统IP库n的查询速度高出一个量级。(Ipdatabase Binary Tree Fast Search IP Address Database data The data source is the standard IP address database formulated by the Advertising Association in 2015, and the standard IP database adopted by the Internet advertising industry in China. principle The binary tree is used to realize IP query. Firstly, the 10-bit IPV4 address is converted into binary to construct a binary tree, and the binary tree search is used to search. The query time complexity log2n is one order of magnitude higher than that of traditional IP library n.)
    2020-06-15 22:35:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载