.article {padding:1em;background:white;} .abstract {padding:1em 1ex 1em 2em;} .author, .date {pad
TheServerSide recently interviewed Joshua Bloch, author of the Collections framework, java.math, the
What"s New in J2SE 1.5 ? -- Interview on Joshua Bloch What"s New in J2SE 1.5 ?
您能把泛型和"for增强"结合在一起吗? 当然没问题。你看,我们把泛型技术融入到上面的代码中: void cancelAll(Collection<TimerTask
看起来真的很好。您乐意跟我们介绍一下静态导入(static import)会给开发者带来什么吗? 它让程序员不必在使用类的静态成员时前缀类名。人们确实希望这样,所以他们经常实现所谓的常数
J2SE1.5便于开发的新语言特性:Joshua Bloch的访谈录 原文http://java.sun.com/features/2003/05/bloch_qa.html by May 8,
您能把这六个方面的改进概括一下吗? 那好,我做一个简述: 泛型Generic – 提供了collection操作的编译期类型安全,并且避免了类型转换的苦差事。 For循环增强
新的“类型安全的枚举”(typesafe enums)比用整数枚举(int enum)有什么优势? 这个问题在我的书第21项中有详细的论述。简要地说: 它提供了编译期类型安全,而
Sun宣布了J2SE 1.5的发布里程碑,Tiger将于今年年底之前发布一个beta版本。另外,J2SE 1.4.2(代号“Mantis”——蟑螂)已经发布,修补了4000多个bug,增加了对Itan
Here are some email between me and Joshua Bloch. I hope these email will do some help for you. These