${item_index?if_exists+1}//获取循环下标值,默认是从0开始的. ${item.userName?if_exists}
分类:
其他好文 时间:
2014-06-15 20:54:59
阅读次数:
346
在JAVA的util包中有两个所有集合的父接口Collection和Map,它们的父子关系: java.util +Collection 这个接口extends自 --java.lang.Iterable接口 +List 接口 -ArrayList 类 -LinkedList 类 -Vector 类...
分类:
编程语言 时间:
2014-06-15 20:23:51
阅读次数:
280
先说我自己用的情况:最先用的memcache ,用于键值对关系的服务器端缓存,用于存储一些常用的不是很大,但需要快速反应的数据 然后,在另一个地方,要用到redis,然后就去研究了下redis. 一看,显示自己安装了php扩展,因为有服务器上的redis服务端,自己本地就没有安装,其实用法和memc...
分类:
数据库 时间:
2014-06-15 18:28:38
阅读次数:
315
{ "Code": 200, "Msg": "", "Result": "{\"PlatformTypeList\": \"啦啦\"}"}{ "Code": 200, "Msg": "", "Result": {"PlatformTypeList": "啦啦"}}
分类:
Web程序 时间:
2014-06-15 16:07:39
阅读次数:
219
Description:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->...
分类:
其他好文 时间:
2014-06-15 07:35:31
阅读次数:
151
一、Redis基础部分:1、redis介绍与安装比mysql快10倍以上*****************redis适用场合****************1.取最新N个数据的操作2.排行榜应用,取TOPN操作3.需要精确设定过期时间的应用4.计数器应用5.Uniq操作,获取某段时间所有数据排重值6...
分类:
其他好文 时间:
2014-06-14 22:45:48
阅读次数:
478
Description:Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preser...
分类:
其他好文 时间:
2014-06-14 19:11:15
阅读次数:
173
兴趣来了,写了个简单的数独游戏计算程序,未做算法优化。通过文件来输入一个二维数组,9行,每行9个数组,数独游戏中需要填空的地方用0来表示。结果也是打印二维数组。 1 import java.io.File; 2 import java.util.List; 3 //代表数独中的一个单元格位置 4 p...
分类:
编程语言 时间:
2014-06-14 18:45:46
阅读次数:
337
Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-06-14 13:15:06
阅读次数:
199
SHELL学习笔记----IF条件判断,判断条件前言: 无论什么编程语言都离不开条件判断。SHELL也不例外。if list then do something here elif list then do another thing here else do something else here...
分类:
其他好文 时间:
2014-06-14 09:40:46
阅读次数:
204