一。意义function.apply(obj,args)obj代替function里this对象args作为参数传给function二。实例1.obj代替function里this对象1 function f(){2 alert(this.x + this.y);3 ... Read More
posted @ 2014-07-12 19:23
等风来。。
Views(250)
Comments(0)
Diggs(0)
一。成员内部类:与类的成员变量一样1可以加任意的修饰:private, protected,顶级类只可以为public, default2内部类不可脱离其外部类的限制使用,因此在外部类以外创建内部类要这样:outerObject=new outerClass(Constructor Paramete... Read More
posted @ 2014-07-12 12:25
等风来。。
Views(349)
Comments(0)
Diggs(0)
一。好处你是否已经对每次从Map中取得关键字然后再取得相应的值感觉厌倦?1 Set keys = map.keySet( );2 if(keys != null) {3 Iterator iterator = keys.iterator( );4 while(iterator.hasN... Read More
posted @ 2014-07-12 11:45
等风来。。
Views(2311)
Comments(0)
Diggs(2)
https://www.cnblogs.com/orionhp/p/6362615.html ApplicationContext实现的默认行为就是在启动时将所有singleton bean提前进行实例化。提前实例化意味着作为初始化过程的一部分, ApplicationContext实例会创建并配置 Read More
posted @ 2014-07-12 01:03
等风来。。
Views(2686)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号