上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: public static void main(String[] args) { //创建数组的第一种方法 int[] arr=new int[6]; int intValue=arr[5]; //System.out.println(intValue); //创建数组的第二种方法 int[] x= 阅读全文
posted @ 2016-10-27 11:55 Sunray0330 阅读(280562) 评论(0) 推荐(6) 编辑
摘要: 前台 var objValue =window.encodeURI(window.encodeURI(queryObj)); alert(objValue); 后台 String descStr = URLDecoder.decode(objValue, "UTF-8"); 阅读全文
posted @ 2016-08-29 09:37 Sunray0330 阅读(2987) 评论(0) 推荐(0) 编辑
摘要: @echo onfor /r %%a in (*.cs) do type "%%a" >>%%~dpanewcsv.txt 阅读全文
posted @ 2016-08-17 09:07 Sunray0330 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1:主方法 package com.baidu; import java.text.NumberFormat;import java.util.ArrayList;import java.util.Stack; public class CalculateStack { static private 阅读全文
posted @ 2016-07-18 16:41 Sunray0330 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: 1:使用js编码 var value=window.encodeURI(window.encodeURI(strValue)); 2:Java类中解码。 String str=URLDecoder.decode(value,"UTF-8"); 阅读全文
posted @ 2016-07-18 08:37 Sunray0330 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-15 14:42 Sunray0330 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Integer douVal=20; double parseDouble = Double.parseDouble(douVal.toString()); System.out.println(parseDouble); 阅读全文
posted @ 2016-07-13 14:52 Sunray0330 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-07 11:51 Sunray0330 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 查看mysql版本的四种方法 1:在终端下:mysql -V。 以下是代码片段: [shengting@login ~]$ mysql -V mysql Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686) 2:在mysql中:mysql> st 阅读全文
posted @ 2016-07-07 11:45 Sunray0330 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1:正则表达式 public static void main(String[] args) { String str = "123456456456456456"; boolean isNum = str.matches("[0-9]+"); System.out.println(isNum); 阅读全文
posted @ 2016-07-07 11:02 Sunray0330 阅读(460) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页