由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Re: What is wrapper class? Thx.
相关主题
Made my first Ajax app integrated to Spring.Textfield auto tab-traversal
array to listJava question 101-150
Re: Client-Server and actionPerformed关于Vector的土问题
help: how to set the alignment of textField to Right?问一个题
Can't figure out: why can't append againquestion on single thread & multithread
help with java scriptjbuilder error, hoho
java 中文显示的问题GUI libraries for JDeveloper?
问个applet的问题。BufferedWriter里的write()
相关话题的讨论汇总
话题: wrapper话题: what话题: primitive话题: class话题: methods
进入Java版参与讨论
1 (共1页)
m*****e
发帖数: 126
1

First, sometimes you will need to store some values in
data structure such as Set and List, which need Objects
to be stored in. You can not add primitive value into
them. So you have to wrap the primitive value.
Second, wrapper classes also provide us many uselful
methods, such as converting String input of numbers to
numbers. You are certainly going to use one or two such
methods when you get user input from a TextField.
1 (共1页)
进入Java版参与讨论
相关主题
BufferedWriter里的write()Can't figure out: why can't append again
How to check if an element is in an array?help with java script
Java里面有没有可能写个带generic parameter的class对built-in type也适用?java 中文显示的问题
请问有没有generic的array问个applet的问题。
Made my first Ajax app integrated to Spring.Textfield auto tab-traversal
array to listJava question 101-150
Re: Client-Server and actionPerformed关于Vector的土问题
help: how to set the alignment of textField to Right?问一个题
相关话题的讨论汇总
话题: wrapper话题: what话题: primitive话题: class话题: methods