2013年8月6日

自定义缓存类

摘要: package frank;public class App{ public static void main(String[] args) { CacheTest ct1 = CacheTest.valueOf("1"); CacheTest ct2 = CacheTest.valueOf("1"); String s1 = new String("1"); String s2 = new String("1"); System.out.println(ct1 == ct2);//true System.out. 阅读全文

posted @ 2013-08-06 11:43 wp456 阅读(168) 评论(0) 推荐(0)

导航