码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
JAVA 时间
1 Date date=new Date();2 DateFormat format=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");3 String time=format.format...
分类:编程语言   时间:2015-06-15 21:42:32    阅读次数:152
Android简单数据存储SharedPreferences
SharedPreferences是Android中存储简单数据的一个工具类。可以想象它是一个小小的Cookie,它通过用键值对的方式把简单数据类型(boolean、int、float、long和String)存储在应用程序的私有目录下(data/data/包名/shared_prefs/)自己.....
分类:移动开发   时间:2015-06-15 20:26:42    阅读次数:149
spring mvc绑定对象String转Date解决入参不能是Date的问题
使用spring的mvc,直接将页面参数绑定到对象中,对象中有属性为Date时会报错,此时需要处理下。同样的,其他的需要处理的类型也可以用这种方法。在controller中加入代码 @InitBinder protected void initBinder(HttpServletReque...
分类:编程语言   时间:2015-06-15 20:09:53    阅读次数:134
String Functions(T-SQL)
The numbers of string functions for sql server 2008(R2) are 23.1) int ASCII(Char|varchar) :Returns the ASCII code value of the leftmost character of a...
分类:数据库   时间:2015-06-15 20:07:45    阅读次数:150
Cocos2d—声音API
播放背景音乐 @param {String} url 声音路径@param {Boolean} loop 是否循环播放cc.audioEngine.playMusic( url , loop );停止背景音乐@param {Boolean} releaseData 是否释放声音数据,默认为false...
分类:Windows程序   时间:2015-06-15 20:05:19    阅读次数:211
hdu3336 Count the string
Problem Description It is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write down all the non-empty prefixes of this string....
分类:其他好文   时间:2015-06-15 18:52:24    阅读次数:106
2015推荐的Android框架
一、GuavaGoogle的基于java1.6的类库集合的扩展项目,包括collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O等等. 这些高...
分类:移动开发   时间:2015-06-15 18:36:06    阅读次数:182
JSON: jasckson 字段 过滤
有这样一个场景存在一个model类如果User,这里省略了getter/setter方法class User { String name; String uuid; Long created; Long updated; Attr attr;}class Attr { ...
分类:Web程序   时间:2015-06-15 18:35:26    阅读次数:139
C#截取字符串
几个经常用到的字符串的截取string str="123abc456";int i=3;1 取字符串的前i个字符 str=str.Substring(0,i); // or str=str.Remove(i,str.Length-i);2 去掉字符串的前i个字符: str=str.Remove(0,...
分类:Windows程序   时间:2015-06-15 18:25:39    阅读次数:148
SQL语句 in 查询
for (int i = 0; i < dtUserAndAgentRelation.Rows.Count; i++ ) { strAgentID += string.Format("'{0}',", Convert.ToStrin...
分类:数据库   时间:2015-06-15 18:15:50    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!