LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 992|回复: 4

Tiger 来了。。。

[复制链接]
发表于 2004-9-30 13:38:55 | 显示全部楼层 |阅读模式
sun j2se 5.0 正式发布了。。。
http://java.sun.com/j2se/1.5.0/download.jsp
发表于 2004-9-30 13:44:15 | 显示全部楼层
郁闷,昨天看还只有不β版!
不公平!
555
 楼主| 发表于 2004-9-30 13:46:32 | 显示全部楼层
怎么可能,9月1X就发布了rc,之前发布了beta`1,beta2
发表于 2004-9-30 18:25:12 | 显示全部楼层
就是因为是BETA版,所以不下的
后悔了
发表于 2004-10-1 13:13:50 | 显示全部楼层
http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html

The Java Language Features Section looks quite interesting:

Generics
This long-awaited enhancement to the type system allows a type or method to operate on objects of various types while providing compile-time type safety. It adds compile-time type safety to the Collections Framework and eliminates the drudgery of casting. Refer to JSR 14.

Enhanced for Loop
This new language construct eliminates the drudgery and error-proneness of iterators and index variables when iterating over collections and arrays. Refer to JSR 201 .

Autoboxing/Unboxing
This facility eliminates the drudgery of manual conversion between primitive types (such as int) and wrapper types (such as Integer). Refer to JSR 201.

Varargs
This facility eliminates the need for manually boxing up argument lists into an array when invoking methods that accept variable-length argument lists. Refer to JSR 201.

Metadata (Annotations)
This language feature lets you avoid writing boilerplate code under many circumstances by enabling tools to generate it from annotations in the source code. This leads to a "declarative" programming style where the programmer says what should be done and tools emit the code to do it. Also it eliminates the need for maintaining "side files" that must be kept up to date with changes in source files. Instead the information can be maintained in the source file. Refer to JSR 175.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表