登录
首页 » Java » Java

Java

于 2020-07-01 发布
0 165
下载积分: 1 下载次数: 4

代码说明:

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

  • spring03-2
    开发示例,一段小程序,spring config配置文件,设置相关property(faDevelop an example, a small program, spring config configuration file, set related properties)
    2019-02-19 11:38:45下载
    积分:1
  • java
    java
    2013-06-08下载
    积分:1
  • newsrecommder
    新闻推荐系统,功能类似百度新闻推荐,或者淘宝根据最近浏览行为推荐可能感兴趣的物品(News recommendation system, similar to Baidu news recommendation)
    2020-10-25 16:30:00下载
    积分:1
  • myshiro
    使用shiro框架进行权限设置,该框架提供权限、安全、过滤等功能(Use Shiro framework to set permissions, which provides permissions, security, filtering and other functions)
    2019-05-28 11:15:43下载
    积分:1
  • orderprocess
    使用Apache CXF编写的一个Web Project,想学CXF的可以下载! (Using the Apache CXF write a Web Project, want to learn the CXF can download!)
    2011-12-15 09:24:16下载
    积分:1
  • eclipse
    eclipse快捷键使用方式,非常齐全,绝对的值(eclipse shortcut keys used, very well equipped, the absolute value of the)
    2013-08-26 18:19:30下载
    积分:1
  • 五子棋java
    说明:  基本算法: 采用博弈比较常用的策略。 计算机下子前,分别对玩家和电脑棋型进行评估,然后根据棋型对每一位置打分(玩家和电脑在同一点的分数不同),比如活三100分,冲四1000分等,然后根据每个落子点分数进行选择。采用极大极小值策略,进行多步计算。(Basic algorithm: The game strategy is commonly used. Before computer playing, players and computer chess models are evaluated separately, and then each position is scored according to the chess pattern (players and computers have different scores at the same point), such as live three hundred points, go four thousand points, and then choose according to the score of each falling point. Multi-step calculation is carried out by using the minimax strategy.)
    2020-06-17 17:00:02下载
    积分:1
  • XWork
    轻量J2ee应用程序开发-mvc with WebWork2(Lightweight J2ee application development-mvc with WebWork2)
    2013-04-01 01:54:34下载
    积分:1
  • ICTCLAS50_Windows_32_JNI
    中科院分词器(java),分词效果不错 里面还有API demo 使用文档等文件夹 (CAS segmentation unit (java), there is also the effect of a good word to use API demo documents and other folders)
    2013-12-24 14:44:21下载
    积分:1
  • svn-win32-1.4.3
    used as CVS platform
    2010-07-13 09:07:34下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载