在使用声明方式的AOP编程中,遇到以下两个问题,解决方法如下: (1)error?at?::0 formal unbound in pointcut 解决方法:去掉函数通知函数中的参数,比如:将 @Before("execution(public void com.bjsxt.dao...
分类:
其他好文 时间:
2015-04-07 23:37:50
阅读次数:
362
题目链接:Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of t...
分类:
其他好文 时间:
2015-04-07 23:33:18
阅读次数:
292
1,网卡流量监控RateOfFlow.sh#!/bin/bash#while true;dotime=`date +%m"-"%d"-"%k":"%M`day=`date +%m"-"%d`rx_before=`ifconfig eth0|sed -n "7"p|awk '{print $2}'|c...
分类:
系统相关 时间:
2015-04-07 19:22:03
阅读次数:
140
今天在做一个app引导界面的时候,想设置成全屏显示,一直报错ausedby:android.util.AndroidRuntimeException:requestFeature()mustbecalledbeforeaddingcontent,百度了很多都不行后来实在没办法了,Google了一下,终于解决了,由于我用的是Google最新的开发工具,继承的是Acti..
分类:
其他好文 时间:
2015-04-06 06:29:32
阅读次数:
127
a {
position: relative;
display: inline-block;
outline: none;
text-decoration: none;
color: #000;
font-size: 32px;
padding: 5px 10px;
cursor:hand;
}
a:hover::before, a:hover::after { ...
分类:
Web程序 时间:
2015-04-05 23:34:34
阅读次数:
245
题目:
Given a linked list and a value x, partition it such that all nodes less than x come
before nodes greater than or equal tox.
You should preserve the original relative order of the nodes ...
分类:
其他好文 时间:
2015-04-04 10:41:39
阅读次数:
154
需要测试的类Person:
package cn.edu.lstc.junit;
public class Person {
public void run() {
System.out.println("run...");
}
public void eat() {
System.out.println("eat...");
}
public String a() ...
分类:
其他好文 时间:
2015-04-04 09:12:11
阅读次数:
110
刚碰到这个问题,写好的一个项目没有任何问题却不能运行,运行直接报出这个错误,ADT环境一直在用,没有任何问题,各种fix、clean、恢复R文件、重启ADT,无果,遂从网上查找各种解决办法,发现无数人遇到这个问题,找到一种比较合理的方案,但是我没有测试效果,没有找到keysto..
分类:
移动开发 时间:
2015-04-03 19:36:15
阅读次数:
200
Function.prototype.before=function(func){var _self=this;return function(){if(func.apply(this,arguments)==false){return false;}return _self.apply(this,...
分类:
Web程序 时间:
2015-04-03 14:43:59
阅读次数:
139
Spring mvc 用POI 导入Excel数据的时候提示:org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save()。 原因:检查之后发现是因为Excel的数据格式...
分类:
Web程序 时间:
2015-03-31 14:55:23
阅读次数:
183