码迷,mamicode.com
首页 >  
搜索关键字:ski course design    ( 8078个结果
设计模式总结之没有结束的结尾
设计模式是为程序代码优化而诞生的,目的是设计出易维护、容易拓展、易复用、灵活性好的程序。设计模式体现是面向对象的三大思想:封装、继承和多态。设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的;设计模式使代码编制真正工程化;设计...
分类:其他好文   时间:2014-06-07 01:29:07    阅读次数:257
Leetcode--Best Time to Buy and Sell Stock III
Problem Description: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most two transa...
分类:其他好文   时间:2014-06-05 09:33:52    阅读次数:342
freemarker报错之六
1、错误描述 五月 28, 2014 10:32:40 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Expression student.course is undefined on line 16, column 25 in course.ftl." Expres...
分类:其他好文   时间:2014-06-05 09:14:11    阅读次数:185
freemarker处理空值
freemarker处理空值 1、设计思路 (1)封装学生类和课程类 (2)新建学生课程页面ftl文件 (3)创建测试方法 2、封装课程类 Course.java: /** * @Title:Course.java * @Package:com.you.freemarker.model * @Description:课程封装类 * @author:Youh...
分类:其他好文   时间:2014-06-05 08:50:45    阅读次数:178
freemarker报错之五
1、错误描述 freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Lexical error at line 16, column 50. Encountered: "\uff01" (65281), after : "" in course.ftl at freemarker...
分类:其他好文   时间:2014-06-05 07:59:23    阅读次数:364
freemarker报错之四
1、错误描述 五月 28, 2014 9:56:48 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Expression student.course is undefined on line 15, column 24 in course.ftl." Express...
分类:其他好文   时间:2014-06-05 07:35:59    阅读次数:348
Design Pattern 设计模式 Decorator 装饰者模式
1 设计一个基类 2 继承这个基类,并包含这个基类的一个对象 3 创建继承类的时候,初始化这个基类,因为是基类指针,所以可以是所有基类的衍生类对象,那么就可以叠加任意多个衍生类对象了。 关键是在衍生类中包含一个基类对象,然后有了继承和包含两重关系,可以使得一个类一个类对象叠加,达到装饰目的。 等于是创建了一个对象指针链表,一个一个对象发挥其相应的作用。 下面程序装饰一个桌...
分类:其他好文   时间:2014-06-05 06:15:17    阅读次数:278
TI_DSP_corePac_带宽管理 - 1.1(原理)
There is no systematic design for shared resource access priority in platform side, and there is no interface provided by platform that can be used by application to do bandwidth management optimizat...
分类:其他好文   时间:2014-06-03 04:54:35    阅读次数:262
Head First 之 Design Pattern(一):Strategy Pattern && 初入设计模式殿堂
阅读《Head First 设计模式》笔记...
分类:其他好文   时间:2014-06-03 02:17:56    阅读次数:217
Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 15:00:54    阅读次数:335
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!