1 package wrapper.demo; 2 3 public class WrapperDemo 4 { 5 6 /** 7 * @param args 8 */ 9 public static void main(String[] args)10 ...
分类:
编程语言 时间:
2015-03-02 20:30:01
阅读次数:
176
目录结构一、jquery源码中常见知识点二、javascript中原型链常见的知识点三、常用的方法集知识点一、jquery源码中常见的知识点 1.string,number类型转换的快捷方法// @param s为字符串,n为数字function fn(obj){ //转换为Stri...
分类:
编程语言 时间:
2015-03-02 18:51:48
阅读次数:
200
1 package string.demo; 2 3 /* 4 * 将数组变为字符串输出 5 */ 6 public class StringBuilderTest 7 { 8 9 /**10 * @param args11 */12 public st...
分类:
编程语言 时间:
2015-03-02 18:49:09
阅读次数:
143
一、头文件:#include 二、函数原型:char * strtok (char *str, const char * delimiters);三、参数:str,待分割的c风格的字符串(c-string);delimiters,分割符字符串。四、说明:将字符串str分解成若干个单词,单词之间以de...
分类:
编程语言 时间:
2015-03-02 18:47:45
阅读次数:
174
HttpPostedFileBase uploadFile = Request.Files[file] as HttpPostedFileBase; string fileN = uploadFile.FileName;//获取文件名称 if (file...
分类:
其他好文 时间:
2015-03-02 18:29:58
阅读次数:
128
/** * 复制单个文件 * @param oldPath String 原文件路径 如:c:/fqf.txt * @param newPath String 复制后路径 如:f:/fqf.txt * @retu...
分类:
移动开发 时间:
2015-03-02 18:29:37
阅读次数:
104
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-03-02 18:25:51
阅读次数:
154
Random t = new Random(); string x, y; int a = t.Next(0,3); int b = t.Next(0,3); ...
toggleClass: function( value, stateVal ) { var type = typeof value;//值类型 if ( typeof stateVal === "boolean" && type === "string" ) {...
分类:
Web程序 时间:
2015-03-02 18:24:29
阅读次数:
239
//读excel数据到data中public static DataTable ReadXlsxData(Stream fileStream, string sheetName) { try { XSSFWork...
分类:
其他好文 时间:
2015-03-02 18:16:07
阅读次数:
134