我对这个模式的理解: 被观察者在自己的内部注册观察者,当需要通知观察者的时候,就通过使用所持有的观察者自己的方法来传递消息,代码如下 Main方法 被观察者接口 观察者接口 被观察者 观察者 ...
分类:
其他好文 时间:
2017-06-18 20:04:57
阅读次数:
200
关系选择符: ①E F:所有包含E元素的F元素; ②E>F:所有包含在E元素的所有亲生F字元素; ③E-/F:选择紧贴在E元素之后的F元素; ④E~F:选择E元素后所有的兄第F元素; 伪类选择器: 适用于打印:①E:hover;设置元素在其鼠标悬停时的样式; ②E:focus;元素在成为输入焦点时样 ...
分类:
其他好文 时间:
2017-06-18 19:03:27
阅读次数:
146
原文链接: http://www.maiziedu.com/article/8272/ 事情是这样的,使用python3.4,django1.8,mysql5.5搭建一个web开发环境,由于python3.x里面没有了MysqlDB,所以使用python3.4+django是链接不上mysql的。会 ...
分类:
数据库 时间:
2017-06-18 19:02:39
阅读次数:
395
本身重读 -ee Awardee Nominee 前一音节重读 -ity authority 权力 当权 Only the president has the authority to delcare war. 主权 Several countries claim authority over th ...
分类:
其他好文 时间:
2017-06-18 18:52:47
阅读次数:
240
CREATEPROCEDURE[dbo].[dxd_mx]@dxd_idVARCHAR(120)=‘‘ASBEGIN--setnocountondeclare@sql1nVARCHAR(4000)SET@sql1=‘select*from(SELECTROW_NUMBER()OVER(ORDERBYt1.nASC)ASm1,*from(SELECTROW_NUMBER()OVER(ORDERBYidDESC)ASn,ID,dxd_id,yqs,yhs,guanghaoFROMlxcy_dxd_mx_vWHER..
分类:
数据库 时间:
2017-06-18 13:17:35
阅读次数:
206
package SS; abstract interface A {// 定义一个接口A public static final String MSG = "hello";// 全局常量 口中的变量会被隐式的指定为 public static final 变量(并且只能是 public,用 priv... ...
分类:
其他好文 时间:
2017-06-18 12:04:28
阅读次数:
190
Learning Rule learning rules, for a connectionist system, are algorithms or equations which govern changes in the weights of the connections in a netw ...
分类:
其他好文 时间:
2017-06-18 11:57:01
阅读次数:
134
Given a string s and a list of strings dict, you need to add a closed pair of bold tag <b> and </b> to wrap the substrings in s that exist in dict. If ...
分类:
其他好文 时间:
2017-06-18 10:44:58
阅读次数:
406
Design an algorithm to encode a list of strings to a string. The encoded string is then sent over the network and is decoded back to the original list ...
分类:
其他好文 时间:
2017-06-18 10:44:35
阅读次数:
180
怎样使用 这个adapter /** * 測试adpater * */ public class DemoAdapter extends AutoAdapter { public DemoAdapter(Context context, List<?> list) { super(context, ...
分类:
其他好文 时间:
2017-06-18 10:31:40
阅读次数:
126