码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
wx jssdk
public static Dictionary jsstr(string url) { //noncestr string noncestr=jssdk.GenerateRandom(16); //timestamp ...
分类:Web程序   时间:2015-05-29 09:51:31    阅读次数:223
Longest Common Prefix
public class Solution { public String longestCommonPrefix(String[] strs) { //http://www.cnblogs.com/springfor/p/3872316.html if(strs=...
分类:其他好文   时间:2015-05-29 09:47:20    阅读次数:83
reflection
反射,提供了一种在程序运行期间分析类型的能力虚拟机为每种类型管理一个Class对象Object中的getClass方法会返回一个Class实例Date d = new Date();Class c = d.getClass();String name = c.getName(); //name被设置...
分类:其他好文   时间:2015-05-29 09:45:48    阅读次数:109
【转载】标准c++中的string类型的用法
http://www.cnblogs.com/xFreedom/archive/2011/05/16/2048037.html相信使用过MFC编程的朋友对CString这个类的印象应该非常深刻吧?的确,MFC中的CString类使用起来真的非常的方便好用。但是如果离开了MFC框架,还有没有这样使用起...
分类:编程语言   时间:2015-05-29 09:44:19    阅读次数:198
天题系列:Regular Expression Matching
烧脑神题public class Solution { public boolean isMatch(String s, String p) { // 反正我是想不出来 http://www.cnblogs.com/springfor/p/3893593.html ...
分类:其他好文   时间:2015-05-29 08:34:13    阅读次数:101
将选中的复选框的信息返回给用户的方法
/// /// 自定义方法,获得复选框中选中的值,用指定的分隔符隔开 /// /// 分隔符 /// 复选框名称 /// 返回复选框中选中的值 string GetCheckBoxItems(string spl...
分类:其他好文   时间:2015-05-29 07:26:07    阅读次数:212
Xfire实现webservice时,对象传递规则及解析简析
Xfire实现webservice,传递对象解析的话,要分两种情况处理:1、基本类型对象;2、复杂对象其实,在客户端直接传递数组,如String[] int[]等这些无法通过配置具体类型来通知xfire的,都需要封装到一个新的自定义对象中来传递1、基本数据对象包括基本数据类型,还有其常用类Strin...
分类:Web程序   时间:2015-05-29 06:13:49    阅读次数:275
String to Integer (atoi)
极值问题public class Solution { public int myAtoi(String str) { // 要考虑清楚极值问题 if(str==null || str.length()==0) return 0; int i=0, r...
分类:其他好文   时间:2015-05-29 06:13:02    阅读次数:131
ZigZag Conversion
public class Solution { public String convert(String s, int numRows) { // http://www.cnblogs.com/springfor/p/3889414.html // 略无聊,就是斜角...
分类:其他好文   时间:2015-05-29 06:12:55    阅读次数:171
unit Base64Unit;
unit Base64Unit;unit Base64Unit;//Download by http://www.codefans.netinterfaceuses Classes, SysUtils; function Base64Encryption(const Input:String):.....
分类:其他好文   时间:2015-05-29 06:08:19    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!