码迷,mamicode.com
首页 >  
搜索关键字:screen design    ( 8152个结果
设计模式总结之没有结束的结尾
设计模式是为程序代码优化而诞生的,目的是设计出易维护、容易拓展、易复用、灵活性好的程序。设计模式体现是面向对象的三大思想:封装、继承和多态。设计模式(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
js 获取整个屏幕的可用宽度和可用高度
screen.availWidth 属性返回访问者屏幕的宽度,以像素计,减去界面特性,比如窗口任务栏。 screen.availHeight 属性返回访问者屏幕的高度,以像素计,减去界面特性,比如窗口任务栏。 -------------------------------------------完整的例子------------------------------------------- ...
分类:Web程序   时间:2014-06-05 07:47:36    阅读次数:364
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
vs2008内存泄露检测得到完美解决
YES,it's so easy,what we need to do is just include ,then the information of memory leaking will be shown on the screen....
分类:其他好文   时间:2014-05-31 21:14:52    阅读次数:334
android屏幕亮度
/** * 获得当前屏幕亮度的模式 * SCREEN_BRIGHTNESS_MODE_AUTOMATIC=1 为自动调节屏幕亮度 * SCREEN_BRIGHTNESS_MODE_MANUAL=0 为手动调节屏幕亮度 */ private int getScreenMode()...
分类:移动开发   时间:2014-05-31 16:57:37    阅读次数:275
jaw crusher the materials
For screening materials for different sizes, vibrating screen is playing its role. After separating, the aggragates that can meet your requirements wi...
分类:其他好文   时间:2014-05-31 15:20:11    阅读次数:205
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
迷上了代码!