import java.util.*; import static java.util.Arrays.*;//导入Arrays这个类中的所有静态成员。 /* 当类名重复时,需要指定具体的包名 当方法名重复时,需要指定具备所属的对象或者类。 */ import static java.lang.Sys...
分类:
其他好文 时间:
2014-07-19 17:27:27
阅读次数:
220
1. 修改linux系统编码为UTF8[root@sx upload]# vi /etc/sysconfig/i18n LANG="en_US.UTF-8"SYSFONT="latarcyrheb-sun16"修改LANG为UTF-8。2. 接着修改CRT的编码为选择外观 、字体 为标准字体 新宋体...
分类:
其他好文 时间:
2014-07-19 17:12:57
阅读次数:
211
我曾经在刚入行的时候做过一个小的swing程序,用到了java SE,swing,Thread等东东,当初经验少也没有做过严格的性能测试,布到生产环境用了一段时间后发现那个小程序有时候会抛java.lang.OutOfMemoryError异常,就是java的内存溢出。当时也上网查了不少资料,试过一...
分类:
编程语言 时间:
2014-07-19 16:30:50
阅读次数:
284
错误报告:Exception raised during rendering: java.lang.System.arraycopy([CI[CII)VException details are logged in Window > Show View > Error Log问题分析:进入xml源文...
分类:
移动开发 时间:
2014-07-19 16:18:41
阅读次数:
311
[root@host /]# vim /etc/sysconfig/i18n #i18n是 internationalization 的缩写形式,意即在 i 和 n 之间有 18 个字母,本意是指软件的“国际化”. LANG="en_US.UTF-8" SYSFONT="latarcyrheb-.....
分类:
其他好文 时间:
2014-07-19 15:21:34
阅读次数:
276
Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'DeskClock'.
java.lang.NullPointerException
delete the project and import it again....
分类:
移动开发 时间:
2014-07-19 08:12:28
阅读次数:
208
/*
ID: lucien23
PROG: sort3
LANG: C++
*/
#include
#include
#include
#include
using namespace std;
void exchange(int nums[], int begin, int end, int N, int x);
int sum = 0;
int main()
{
ifstream ...
分类:
其他好文 时间:
2014-07-19 02:12:25
阅读次数:
176
最近公司开发的几个项目中,后台Action向前端传递数据都是Json格式,于是对JSONObject、JSONArray简单的研究了一下,废话不多说,想使用JSONObject、JSONArray,策则在项目中必须要有commons-lang.jar commons-beanutils.jar co...
分类:
Web程序 时间:
2014-07-19 00:36:28
阅读次数:
239
1.Iterable接口在java.lang包中;Iterator接口在java.util包中2.Iterable中只有一个方法,那就是返回一个Iterator迭代器:Iterator iterator() 而Iterator中有关于迭代器的核心功能,next(),hasNext(),remove(...
分类:
编程语言 时间:
2014-07-18 19:06:45
阅读次数:
4190
在Eclipse 调试 springside showcase项目中,tomcat报异常 Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space在google半天后,找到解决方法...
分类:
编程语言 时间:
2014-07-18 15:37:53
阅读次数:
307