http://stackoverflow.com/questions/2391679/why-do-we-need-virtual-methods-in-cBasic idea: when mark a method as virtual in a parent class, the compile...
分类:
编程语言 时间:
2015-04-18 17:30:02
阅读次数:
179
myeclipse设置注释模板
使用myeclipse在开发项目时经常使用注释来标注一个方法的一些信息,为了保证注释的规范且为了提高效率,myeclipse可以自己定义代码的模板
在myeclipse窗口下选择Window->Preferences->Java->Code Style->Code Templates,然后选择右边的Comments,
我以其中的Methods举例:...
分类:
系统相关 时间:
2015-04-18 16:10:53
阅读次数:
185
Javascript实现颜色rgb与16进制转换的方法。分享给大家供大家参考。具体如下:Color(12,34,56);Color("#fff")Color("#defdcd")//颜色转换varColor=function(){if(!(thisinstanceofColor)){varcolor=newColor();color._init.apply(color,arguments);returncolor;}if(arguments.l..
分类:
编程语言 时间:
2015-04-18 14:43:15
阅读次数:
157
Object是所有类的始祖,java中的每个类的都是它拓展而来的。
Object的euqals方法、hashCode方法、getClass方法和toString方法在操作对象时是非常有用的方法。...
分类:
其他好文 时间:
2015-04-17 22:22:01
阅读次数:
225
(1)/** * This interface represents an ordered set of characters and defines the * methods to probe them.描述有序字符序列的接口。定义了探测这个序列的方法。 */public interface C...
分类:
其他好文 时间:
2015-04-17 20:20:00
阅读次数:
181
nodetree中 前面复选框的去掉插件extendTreeCheck.js 1 /** 2 * tree方法扩展 3 * 作者:小雪转中雪 4 */ 5 $.extend($.fn.tree.methods, { 6 /** 7 * 激活复...
分类:
其他好文 时间:
2015-04-16 13:58:45
阅读次数:
162
本文转载自:http://blog.csdn.net/zxz414644665/article/details/9793205当你有下面这样一个需求的时候,扩展方法就会起到作用:在项目中,类A需要添加功能,我们想到的就是在类A中添加公共方法,这个显而易见肯定可以,但是由于某种原因,你不能修改类A本身...
1. C++static has three methods to use.a. external no need to add static. but it is stored statically.b. internal need to add static. it si stored stat...
分类:
其他好文 时间:
2015-04-14 00:25:11
阅读次数:
230
Android Fresco图片处理库用法API英文原文文档2-2(Facebook开源Android图片库)
这是英文文档的第二部分(2):DRAWEE GUIDE
由于第二部分内容多一些,所以分为2个文章发。方便大家查看。
Using the ControllerBuilder
SimpleDraweeView has two methods for s...
分类:
移动开发 时间:
2015-04-13 16:48:05
阅读次数:
283
331down voteacceptedSee it inActivity Lifecycle(at Android Developers).onCreate():Called when the activity is first created. This is where you should ...
分类:
移动开发 时间:
2015-04-13 16:38:35
阅读次数:
385