上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页
摘要: MS SqlServer : select top N * from Table1 order by NewId() mySql: SELECT * FROM tableName ORDER BY rand() 阅读全文
posted @ 2017-03-01 09:57 zslm___ 阅读(3991) 评论(0) 推荐(0)
摘要: 甲方:武汉某某某某某有限公司住所地:武汉市某某某某某某某某某某 阅读全文
posted @ 2017-02-28 15:10 zslm___ 阅读(343) 评论(0) 推荐(0)
摘要: 1.首先需要一个abstract class WebViewPage<T> ,继承系统的 System.Web.Mvc.WebViewPage<TModel> 再定义一个WebViewPage 继承 自定义的WebViewPage<dynamic> 2.更改View下的 web.config(不是项 阅读全文
posted @ 2017-02-27 18:22 zslm___ 阅读(480) 评论(0) 推荐(0)
摘要: class Employee { private int salary; private java.util.Date hireDay; private String name; public int getSalary() { return salary; } public void setSalary(int salary... 阅读全文
posted @ 2017-02-24 18:40 zslm___ 阅读(1909) 评论(0) 推荐(0)
摘要: public static final String NewLineSeparator=System.getProperty("line.separator","\n"); 阅读全文
posted @ 2017-02-24 15:20 zslm___ 阅读(432) 评论(0) 推荐(0)
摘要: 千分位表达 大数字 阅读全文
posted @ 2017-02-24 11:03 zslm___ 阅读(274) 评论(0) 推荐(0)
摘要: com.google.guava guava 18.0 LoadingCache cache = CacheBuilder.newBuilder() .maximumSize(1000) .expireAf... 阅读全文
posted @ 2017-02-23 17:15 zslm___ 阅读(2464) 评论(0) 推荐(0)
摘要: ArrayList list = new ArrayList(); list.add(0, "b"); list.add(1, "a"); list.add(0, "c"); list.add(1, "d"); ITopable sortDesc = ((strList) -> { ... 阅读全文
posted @ 2017-02-23 17:04 zslm___ 阅读(212) 评论(0) 推荐(0)
摘要: public static class CacheHelper { static object _lockObj = new object(); private static Dictionary _lockObjDict = new Dictionary(); /// /// 获取缓存,如果缓存不存在,则从 acqu... 阅读全文
posted @ 2017-02-23 14:44 zslm___ 阅读(658) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { try { Class cla = Class.forName("com.money.test.Employee"); Object obj = cla.newInstance(); Method method2 = cla.g... 阅读全文
posted @ 2017-02-23 14:42 zslm___ 阅读(220) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页