what happens in more sophisticated environments where you do not necessarily know ahead of time which bean class you are going to be using, or which property you want to retrieve or modify? The APIs in the BeanUtils package are intended to simplify getting and setting bean properties dynamically,... Read More
posted @ 2013-08-02 13:38
等风来。。
Views(282)
Comments(0)
Diggs(0)
An entry in aWeakHashMapwill automatically be removed when its key is no longer in ordinary use. More precisely,the presence of a mappingfor a given key will not prevent the key from being discarded by the garbage collector,that is, made finalizable, finalized, and then reclaimed.When a key has bee. Read More
posted @ 2013-08-02 13:25
等风来。。
Views(534)
Comments(0)
Diggs(0)
javaScript中的单引号与双引号没有什么区别。但因为xhtml规范要求所有xhtml属性要用双引号括起来。所以在javaScript中使用单引号。1 var html = 'go go go !'这样做比用双引号更清晰var html = "go go go !" Read More
posted @ 2013-08-02 01:23
等风来。。
Views(414)
Comments(0)
Diggs(0)
1 var myConstructor = function(message){ 2 //实例变量 3 this.message = message; 4 5 //私有变量,外部不可见。用var声明的变量具有块作用域 6 var separator = '-'; 7 var owner = this; 8 9 //私有方法:只能在构造器内调用10 function alertMessage(){11 alert(owner.message);12 //alert(this.message);则下面... Read More
posted @ 2013-08-02 01:09
等风来。。
Views(486)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号