码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
jxl设置列宽
public static void main(String[] args) throws IOException, WriteException{ jxl.write.WritableWorkbook ww = Workbook.createWorkbook(new File("M:\\works...
分类:其他好文   时间:2015-03-18 11:59:16    阅读次数:122
类的加载
private void comeFromJar(Class cl) { String className = cl.getName(); className = className.replace('.', '/'); String resource = "/" + className + ...
分类:其他好文   时间:2015-03-18 11:55:40    阅读次数:86
loadrunner11中java vuser引用jar包
1.创建工程,新建类,HelloWorld.java,代码如下: 1 package com.liuke; 2 3 4 5 public class HelloWorld { 6 7 public String getHello(){ 8 9 return "调用自定义...
分类:编程语言   时间:2015-03-18 10:22:47    阅读次数:154
winform判断输入是否是数字
1 private bool IsNum(string str) 2 { 3 try 4 { 5 foreach (char c in str) 6 { 7 ...
分类:Windows程序   时间:2015-03-18 10:14:13    阅读次数:179
js学习20150318
类型 前缀 类型 实例对象 o object oDiv数组 a Array aItems字符串 s String sUserName整数 i Integer iItemCount布尔值 b Boolean bIsComplete浮点数 f Float fPrice函数 fn Function fnH...
分类:Web程序   时间:2015-03-18 10:13:23    阅读次数:135
转载:c# string.Format
C#:STRING.FORMAT数字格式化输出1.各种常用数字格式化货币转换 C 或 c(默认小数点后2位。C3后面跟的数字就代表小数后几位) string.Format("{0:C}",a)a.ToString("C")//$2.50 string.Format("{0:C3}",a)a.ToSt...
分类:Windows程序   时间:2015-03-18 10:11:44    阅读次数:153
php常量的声明和使用
常量可以理解为值不变的量,常量被定义后,在脚本的其他任何地方都不能改变,一个常量由英文字母,下划线,和数字组成,但是数字不能作为常量的首字母。 在php中使用#define()函数来定义常量,该函数的语法格式如下: define(string constant_name,mixed value,case_sensitive=true) 获取常量的值的方法有两种,一种方法是:使用常量的...
分类:Web程序   时间:2015-03-18 09:02:35    阅读次数:149
日期周期计算
方法一: protected void Page_Load(object sender, EventArgs e) { string[] Day = new string[] { "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" }; string[] ...
分类:其他好文   时间:2015-03-18 09:00:27    阅读次数:170
LeetCode – Refresh – Add Binary
This question is pretty straight forward. 1 class Solution { 2 public: 3 string addBinary(string a, string b) { 4 int runnerA = a.size()-1...
分类:其他好文   时间:2015-03-18 07:48:23    阅读次数:132
LeetCode – Refresh – Anagrams
Use a hash table to record it. The tricky part is that when the hash value is > 0, it is the index + 1. Otherwise, that string already exists in resul...
分类:其他好文   时间:2015-03-18 07:47:38    阅读次数:100
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!