码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
Excel Sheet Column Number
1 public int titleToNumber(String s) {2 if(s.length()==0) return 0;3 int res=0;4 for(int i=0;i<s.length();i++)5 {...
分类:其他好文   时间:2015-01-14 22:41:44    阅读次数:243
Spring_DI利用set方法赋值Demo
Person.javapublic class Person { private Long pid; private String pname; private Student student; private List list; private Set set; ...
分类:编程语言   时间:2015-01-14 22:37:30    阅读次数:253
Excel Sheet Column Title
public String convertToTitle(int n) { String res=""; while(n>26) { if(n%26==0) { res="Z"+r...
分类:其他好文   时间:2015-01-14 22:35:06    阅读次数:227
io.File+递归
1 import java.io.File ; 2 import java.io.IOException ; 3 public class FileDemo11{ 4 public static void main(String args[]){ 5 File my = n...
分类:其他好文   时间:2015-01-14 21:20:04    阅读次数:126
break
public class b { public static void main(String[] args) {int i=0;for(;i2) {System.out.println(i);//2break;//结束循环}}}}break在一些计算机语言中是保留字,其作用大多情况下是终止上一层的...
分类:其他好文   时间:2015-01-14 21:16:53    阅读次数:213
request.getParameterValues与request.getParameter的差别
一、 简单的对照 request.getParameter用的比較多,相对熟悉 request.getParameterValues(String name)是获得如checkbox类(名字同样,但值有多个)的数据。 接收数组变量 ,如checkobx类型 request.getParameter(...
分类:其他好文   时间:2015-01-14 21:16:53    阅读次数:120
从头开始学JavaScript (八)——变量
一、变量分类:基本类型值:null、undefined、number、string、Boolean;引用类型值:保存在内存中的对象,如:Object / Array / Function / Date / RegExp / Error / Map / Set …二、属性二者的定义方式是类似的:创建一...
分类:编程语言   时间:2015-01-14 21:12:45    阅读次数:172
ASP.NET中调用事务处理的方法
/// /// 事务处理 /// /// /// public bool InportData(string strSql) { SqlConnection sqlConn...
分类:Web程序   时间:2015-01-14 21:09:48    阅读次数:200
mondrian 中datasource.xml配置
Provider=Mondrian;DataSource=Cost; Cost Data Warehouse http://localhost:8080/mondrian/xmla element. Catalogs can override the connect string wi...
分类:其他好文   时间:2015-01-14 21:06:19    阅读次数:480
ASP.NET Web API 数据验证
第一种方式单独为每一个Action做验证 // POST api/values public HttpResponseMessage Post([FromBody]UserInfo userInfo) { if (string.Is...
分类:Windows程序   时间:2015-01-14 19:50:33    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!