1. Business rules are an important part of the business domain. They define data validation and other constraints that need to be applied on domain ob...
分类:
其他好文 时间:
2015-01-20 20:11:50
阅读次数:
424
很久没写技术贴了,这两天被spring的循环引用搞死了,发文记之。前几天,项目结构做了调整,把我所在的项目代码嵌入另一个项目,然后就杯具了,症状如下:Bean with name ‘xxxService’ has been injected into other beans [xxxService]...
分类:
编程语言 时间:
2015-01-20 17:16:54
阅读次数:
279
Insert title here id为one,class为one的divclass为mini 来class为mini title为other class为mini title为test class为mini class 为mini class 为mini cla...
分类:
Web程序 时间:
2015-01-20 11:46:53
阅读次数:
206
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solutions to the n-queens puzzle.
...
分类:
其他好文 时间:
2015-01-19 21:08:13
阅读次数:
210
1.准备jar包与安装eclipse.2.将jar包拷贝到eclipse/plugin. 3.打开eclipse,在eclipse中配置hadoop home windows—>preference,选择自己的hadoop安装路径: 4.windows—>show view—>other:...
分类:
系统相关 时间:
2015-01-19 20:55:39
阅读次数:
239
### 对象销毁规则1 未被使用的函数返回值2 被let绑定的值, 在函数末尾销毁,除非被moved```let v = obj::new("a");other_fun(v); // v被move了, v在other_fun里面销毁,而不是当前函数的结尾```3 被替换的值将销毁```let mut...
分类:
其他好文 时间:
2015-01-19 19:02:16
阅读次数:
397
Linux内核的三种调度策略: 1、SCHED_OTHER 分时调度策略 2、SCHED_FIFO实时调度策略,先到先服务。一旦占用cpu则一直运行。一直运行直到有更高优先级任务到达或自己放弃 3、SCHED_RR实时调度策略,时间片轮转。当进程的时间片用完,系统将重新分配时间片,并置于...
分类:
编程语言 时间:
2015-01-19 18:57:51
阅读次数:
282
In the game of Sports, the object is have more points than the other team after a certain amount of time has elapsed. Scores are denoted by two hyphen-separated integers. For example, scores may inclu...
共2个layout:main.xml和other.xml;2个activity:MainActivity.java,OtherActivity.java在mainactivity中重写onCreate,第6行设置按钮监听~1 public void onCreate(Bundle savedInst...
分类:
移动开发 时间:
2015-01-16 20:37:50
阅读次数:
153
新版本的pdo会有这个问题:General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternati...
分类:
其他好文 时间:
2015-01-16 14:26:08
阅读次数:
233