-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b05
-
generic
-
generic
Translations corresponds to following 2 setences needs to be fixed.
http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/language/generics.html
To paraphrase Generics Specification Lead Gilad Bracha, when we declare c to be of type Collection<String>, this tells us something about the variable c that holds true wherever and whenever it is used, and the compiler guarantees it (assuming the program compiles without warnings).
http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/language/autoboxing.html
When you take the object out of the collection, you get the Integer that you put in; if you need an int, you must unbox the Integer using the intValue method.
http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/language/generics.html
To paraphrase Generics Specification Lead Gilad Bracha, when we declare c to be of type Collection<String>, this tells us something about the variable c that holds true wherever and whenever it is used, and the compiler guarantees it (assuming the program compiles without warnings).
http://java.sun.com/j2se/1.5.0/ja/docs/ja/guide/language/autoboxing.html
When you take the object out of the collection, you get the Integer that you put in; if you need an int, you must unbox the Integer using the intValue method.