码迷,mamicode.com
首页 >  
搜索关键字:redis list    ( 76141个结果
arclist标签和list标签区别
很多站长朋友在刚入门织梦的时候对织梦的标签存在很多的困惑,关于arclist标签和list标签,甚至不知道啥时候用arclist,啥时用list标签。arclist为自由列表,全局模板中都生效,一般我们在首页用到居多,可以随便调用某栏目下的文章列表。list是表示列表模板里的分页内容,大多在栏目新闻...
分类:其他好文   时间:2014-05-29 02:28:02    阅读次数:247
LeetCode --- Add Two Numbers
题目链接说来算是个基础题目,可是还是各种CE,各种WA,基础还是不扎实。附上代码: 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *ne...
分类:其他好文   时间:2014-05-28 23:56:38    阅读次数:382
关于<s:select> 标签
struts2的select标签中,常用的有以下几个属性:(1)struts2中的select 标签中,必须设置的属性只有一个,即是list。(2)select标签的list中必须有值,不然会报错。如果没有值,可以加上headerKey, headerValue,这样就可以通过了。如:xml 代码 ...
分类:其他好文   时间:2014-05-28 21:54:49    阅读次数:319
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
【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
pyscripts 中mathstuff calss 的功用
def meanstdev(numlist): 返回一个序列的均值和标准差;def mindivnum(numlist,limit):找出一个整数list (numlist)的最小公倍数,寻找的范围为1~limit;def dec2bin(num,digits):将num转化为2进制字符串,并保留低...
分类:其他好文   时间:2014-05-28 03:20:03    阅读次数:212
当property遇上category
【当property遇上category】 @property可以在类定义中,以及extension定义中使用,编译器会自动为@property生成代码,并在变量列表(ivar_list_t)中添加相应的以下划线开头的变量。 在category中,编译器允许定义@property,但不会为此@p.....
分类:其他好文   时间:2014-05-28 02:35:35    阅读次数:241
关于hibernate的session.createSQLQuery(sql)直接调用底层SQL后,返回结果集的问题
数据库中有如下信息name,sex张三、男李四、女通过Hibernate的createSQLQuery可以直接调用底层SQL语句如下:Listlist=(List)getHibernateTemplate().execute(newHibernateCallback(){ publicObject....
分类:数据库   时间:2014-05-28 01:26:29    阅读次数:312
Linq递归生成easyui-tree
我把整个类放这里大加参考:public class ClassOrganization { static List org; public List GetOrgTree(string _pid) { List porg = new List(); porg = org.Where(g => g.a...
分类:其他好文   时间:2014-05-27 17:05:33    阅读次数:298
跨数据库事务
/// /// 多数据库服务器事务提交 /// /// key为connName,value为Sql语句 /// public bool ExecuteMultiTran(List sqlStrings) { bool reval = true...
分类:数据库   时间:2014-05-27 16:14:24    阅读次数:434
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!