码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
Bean、List、Map、Array、String与JSON字符串的相互转换
import java.beans.Introspector;import java.beans.PropertyDescriptor;import java.math.BigDecimal;import java.math.BigInteger;import java.util.ArrayList...
分类:Web程序   时间:2014-05-28 04:39:42    阅读次数:363
NSString格式校验
在项目开发过程中,NSString类型的变量是经常用到的,而且我们常常会对其格式进行对应的各种校验,你比如,在登录注册的时候,需要验证用户名的长度,用户名的字符组成等等,其实现在也有很多第三方提供的NSString的Category老方便我们做各种判断。由于最近做的一个项目需要判断密码的格式。主要在...
分类:其他好文   时间:2014-05-28 04:14:26    阅读次数:237
一个jQuery扩展工具包
带有详尽注释的源代码:var jQuery = jQuery || {};// TODO// ###################################string操作相关函数###################################jQuery.string = jQuer...
分类:Web程序   时间:2014-05-28 04:07:56    阅读次数:373
【LeetCode】Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2014-05-28 04:03:54    阅读次数:240
php Exception方法
getCode() 如果有,将返回收到的异常代号getMessage() 如果有,将返回收到的异常信息getFile() 返回发生异常的文件名getLine() 抛出异常的的代码行数getTrace() 一个诸如文件名、行号等信息的数组getTraceAsString() 与getTrace()返回...
分类:Web程序   时间:2014-05-28 04:02:42    阅读次数:293
MonkeyRunner Class
A monkeyrunner class that contains static utility methods.一个包含静态工具方法的类.Public Methodsstring alert ( string message, string title, string okTitle) Dis....
分类:其他好文   时间:2014-05-28 02:28:47    阅读次数:252
T端根据玩家职业来显示不同颜色的角色名字的C++代码
这里是一个简单实用的函数,主要是根据职业的不同,当你需要调用角色名字的时候,根据你的角色名字的不同,来显示各种不同的颜色的名字std::string m_ClassColor[12] = { //首先定义一个组,根据不同的职业类别 "", // 0 No...
分类:编程语言   时间:2014-05-27 16:51:53    阅读次数:262
Android自定义进度条-带文本(文字进度)的水平进度条(ProgressBar)
/** * 带文本提示的进度条 */public class TextProgressBar extends ProgressBar { private String text; private Paint mPaint; public TextProgressBar...
分类:移动开发   时间:2014-05-27 16:29:14    阅读次数:1470
(原创)舌尖上的c++--相逢
引子 前些时候,我在群里出了一道题目:将变参的类型连接在一起作为字符串并返回出来,要求只用函数实现,不能借助于结构体实现。用结构体来实现比较简单:template struct Connect;templatestruct Connect{ static string GetName() ...
分类:编程语言   时间:2014-05-27 16:25:51    阅读次数:492
统计数组中重复元素个数
/** * 循环统计数组或集合中的重复元素个数 * @param args */ public static void main(String[] args) { Map map = new HashMap(); String[] ss = ...
分类:其他好文   时间:2014-05-27 16:23:14    阅读次数:290
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!