摘要: 转自:http://blog.csdn.net/udbnny/article/details/5870076 先了解AOP的相关术语:1.通知(Advice):通知定义了切面是什么以及何时使用。描述了切面要完成的工作和何时需要执行这个工作。2.连接点(Joinpoint):程序能够应用通知的一个“时 阅读全文
posted @ 2017-01-23 16:02 编程小白菜 阅读(2435) 评论(0) 推荐(0) 编辑
摘要: 从List中删除元素,不能通过索引的方式遍历后删除,只能使用迭代器。 错误的实现 错误的实现方法 public class Demo { public static void main(String... args) { List<String> data = new ArrayList<Strin 阅读全文
posted @ 2017-01-23 15:12 编程小白菜 阅读(373) 评论(0) 推荐(0) 编辑