包装类的实例化
所有的包装类都是不可变的
实例化方法:
构造方法
除了Character类,其他包
Integer(int x)
Integer(String x)
NumberFormatException异常
对于Boolean构造方法的参数不区分
大小写
装类都是提供了两种构造方法
静态方法:valueOf()方法
Integer i=...
分类:
编程语言 时间:
2014-11-24 17:19:49
阅读次数:
179
视频是现在电脑中多媒体系统中的重要一环。为了适应储存视频的需要,人们设定了不同的视频文件格式来把视频和音频放在一个文件中,以方便同时回放。视频档实际上都是一个容器里面包裹着不同的轨道,使用的容器的格式关系到视频档的可扩展性。 FourCC全称Four-Character Codes,是由4个字...
分类:
其他好文 时间:
2014-11-24 15:00:43
阅读次数:
219
在 HTML 中,某些字符是预留的。在 HTML 中不能使用小于号(),这是因为浏览器会误认为它们是标签。如果希望正确地显示预留字符,我们必须在 HTML 源代码中使用字符实体(character entities)。比如要写这篇日志在前端展现出大于号(>),小于号(大于号>>&和号&...
分类:
Web程序 时间:
2014-11-24 13:15:54
阅读次数:
159
Determine if a Sudoku is valid, according to:
Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially filled su...
分类:
其他好文 时间:
2014-11-24 10:09:21
阅读次数:
208
下面是官方解释以及其翻译大意:
CollisionFlags Move(Vector3 motion);
Description
A more complex move function taking absolute movement deltas.
Attempts to move the controller by motion, ...
分类:
编程语言 时间:
2014-11-23 23:31:50
阅读次数:
292
找到mysql安装目录中的 my.ini 配置文件,在[mysql]行的下面加入一行 no-beep 即可消除声音。[mysql]no-beepdefault-character-set=gb2312
分类:
数据库 时间:
2014-11-23 11:39:40
阅读次数:
195
Wildcard MatchingImplement wildcard pattern matching with support for '?' and '*'.'?' Matches any single character.'*' Matches any sequence of charact...
分类:
其他好文 时间:
2014-11-23 10:27:55
阅读次数:
174
1、彩色显示问题Options->SessionOptions->Terminal->Emulation->ANSIColor选项中改成你想要的编码,然后把Terminal类型改成xterm,并点中ANSIColor复选框2、中文乱码问题Options->SessionOptions->Appearance选项中改成你想要的编码就可以了,将Character设..
分类:
其他好文 时间:
2014-11-21 16:32:09
阅读次数:
173
如果Cookie中的Value 中有中文字符出现,在加入Cookie的时候,会出现下面的错误: java.lang.IllegalArgumentException: Control character in cookie value or attribute.当我们设定Cookie的Value的....
分类:
编程语言 时间:
2014-11-21 12:02:26
阅读次数:
154