02 2017 档案

摘要:甲方:武汉某某某某某有限公司住所地:武汉市某某某某某某某某某某 阅读全文
posted @ 2017-02-28 15:10 zslm___ 阅读(334) 评论(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___ 阅读(474) 评论(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___ 阅读(1904) 评论(0) 推荐(0) 编辑
摘要:public static final String NewLineSeparator=System.getProperty("line.separator","\n"); 阅读全文
posted @ 2017-02-24 15:20 zslm___ 阅读(427) 评论(0) 推荐(0) 编辑
摘要:千分位表达 大数字 阅读全文
posted @ 2017-02-24 11:03 zslm___ 阅读(270) 评论(0) 推荐(0) 编辑
摘要:com.google.guava guava 18.0 LoadingCache cache = CacheBuilder.newBuilder() .maximumSize(1000) .expireAf... 阅读全文
posted @ 2017-02-23 17:15 zslm___ 阅读(2457) 评论(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___ 阅读(204) 评论(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___ 阅读(650) 评论(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___ 阅读(215) 评论(0) 推荐(0) 编辑
摘要:/// /// 将数值字符串加密为短字符串 /// public static class NumberToShortString { /// /// 共62个字符 /// private static readonly string Keys = "0123456789abcdefghijk... 阅读全文
posted @ 2017-02-22 18:48 zslm___ 阅读(2578) 评论(0) 推荐(0) 编辑
摘要:A reader lives a thousand lives before he die... The man who never reads lives only one. 阅读全文
posted @ 2017-02-21 16:02 zslm___ 阅读(139) 评论(0) 推荐(0) 编辑
摘要:public static class JsonHelper { static JsonHelper() { Newtonsoft.Json.JsonSerializerSettings setting = new Newtonsoft.Json.JsonSerializerSettings(); Jso... 阅读全文
posted @ 2017-02-21 09:48 zslm___ 阅读(8369) 评论(1) 推荐(1) 编辑
摘要:静态方法是同步方法:自动加锁,锁的对象是类对象 阅读全文
posted @ 2017-02-15 17:38 zslm___ 阅读(372) 评论(0) 推荐(0) 编辑
摘要:com.google.code.gson gson 2.8.0 import com.google.gson.Gson; import com.google.gson.GsonBuilder; class JsonHelper { public sta... 阅读全文
posted @ 2017-02-14 18:21 zslm___ 阅读(1296) 评论(0) 推荐(0) 编辑
摘要:Life is a journey. What we should care about is not where it's headed but what we see and how we feel. Convention over Configuration(约定优于配置) 阅读全文
posted @ 2017-02-09 17:17 zslm___ 阅读(241) 评论(0) 推荐(0) 编辑
摘要:public sealed class JsonSerializer { public static byte[] Serialize(object message) { return Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(message)); } ... 阅读全文
posted @ 2017-02-05 19:28 zslm___ 阅读(1714) 评论(0) 推荐(0) 编辑
摘要:var cts = new CancellationTokenSource(); Thread t = new Thread(new ThreadStart(() => { Console.WriteLine(string.Format("{1}线程Id:{0}开始运行", Thread.C... 阅读全文
posted @ 2017-02-05 18:16 zslm___ 阅读(394) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示