![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java知识点
文章平均质量分 65
iteye_2996
这个作者很懒,什么都没留下…
展开
-
正则表达式匹配XML节点
通过这则表达式匹配一下xml文件中parent节点 <xml> <parent id="parent1"/> <parent id="parent2"> <child name="child1"/> </parent> <paren原创 2011-06-16 16:59:48 · 1931 阅读 · 0 评论 -
对SoftReference、WeakReference和PhantomRefrence的理解
本文将谈一下对SoftReference(软引用)、WeakReference(弱引用)和PhantomRefrence(虚引用)的理解三各类理解,这三个类是对heap中java对象的应用,通过这个三个类可以和gc做简单的交互. 引用种类 除了上面提到的三个引用之外,还有一个引用,也就是最长用到的那就是强引用.例如 Object o=new Object(); Object o1=o;...原创 2010-06-23 17:57:28 · 78 阅读 · 0 评论