将一个int 数组转换成字符串
并输出在控制台上
//将一个int 数组转换成一个字符串
public class IntToStringDemo
{
public static void main(String[] args)
{
// TODO Auto-generated method stub
//定义一个int类型的数组
int[] i...
分类:
编程语言 时间:
2015-06-18 17:22:30
阅读次数:
271
public static void main(String[] args) {
// TODO Auto-generated method stub
int a = 3;//
int m = 3;//这个是个数
int result = a;
int sum = a;
for (int i = 1; i
sum = 10 * sum + a;
result += sum...
分类:
其他好文 时间:
2015-06-17 23:27:39
阅读次数:
264
public class Test2 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int abcCount = 0;// 英文字母个数
int spaceCount = 0;// 空格键个数
int numCount = 0;// 数字个数
int otherCoun...
分类:
其他好文 时间:
2015-06-17 21:33:21
阅读次数:
152
Logical vs physical address 1) An address generated by the CPU is a logical address. Whereas, an address seen by the memory unit, that is, the one lo....
分类:
其他好文 时间:
2015-06-17 00:27:57
阅读次数:
117
今天写程序遇到一个问题:Program terminated with signal 11, Segmentation fault.
gdb 调试现象如下:
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff1b1fc000
Core was generated by...
分类:
其他好文 时间:
2015-06-16 16:52:51
阅读次数:
332
GridSearchCV详细地址:http://scikit-learn.org/stable/modules/generated/sklearn.grid_search.GridSearchCV.html#examples-using-sklearn-grid-search-gridsearchc...
分类:
其他好文 时间:
2015-06-15 18:27:57
阅读次数:
269
是一种可以创建多线程消息的函数
使用方法:
1,首先创建一个Handler对象
Handler handler=new Handler();
2,然后创建一个Runnable对象
Runnable runnable=new Runnable(){
@Override
public void run() {
// TODO Auto-generated metho...
分类:
移动开发 时间:
2015-06-12 19:27:59
阅读次数:
223
# Other default tuning values # MySQL Server Instance Configuration File # ---------------------------------------------------------------------- # Generated by the MySQL Server Instance Configurat...
分类:
其他好文 时间:
2015-06-09 20:15:44
阅读次数:
86
1.重写simpleAdapter 方法@Override public HashMap getItem(int position) { // TODO Auto-generated method stub return listItem.get(position); } public MyA...
分类:
移动开发 时间:
2015-06-09 16:26:05
阅读次数:
133
注意, 包装类的实例之间比较, 是不能直接用 == 的 public static void main(String[] args) { // TODO Auto-generated method stub Integer a = new Integer(1); ...
分类:
移动开发 时间:
2015-06-09 00:53:13
阅读次数:
147