码迷,mamicode.com
首页 >  
搜索关键字:primitive value    ( 38200个结果
[LeetCode] Search for a Range
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:其他好文   时间:2014-06-28 19:23:45    阅读次数:200
C#通用类型转换 Convert.ChangeType 转自网络
static public object ChangeType(object value, Type type) { if (value == null && type.IsGenericType) return Activator.CreateInstance(...
分类:其他好文   时间:2014-06-28 18:28:53    阅读次数:212
【leetcode】Search a 2D Matrix
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2014-06-28 15:14:05    阅读次数:194
c# dictionary 学习
//Dictionary的Value为一个数组public static void DicSample2() { Dictionary dic = new Dictionary(); String[] ZheJiang = { "Huzhou", "HangZhou", "Tai...
分类:其他好文   时间:2014-06-28 14:07:31    阅读次数:177
利用替换的功能生成指定类型的属性
正则表达式 查找{[a-zA-Z0-9]+} 替换成字符串属性 #region \1\n private string _\1 = "";\n public string \1\n {\n get \n {\n return _\1;\n }\n set \n {\n _\1 = value;\n ...
分类:其他好文   时间:2014-06-28 14:06:50    阅读次数:127
算法: 排序: 快速排序
1. Algrithom?Given an array of values, pick a value as a pivot value?Check each value against the pivot value and - bring each value higher than the p...
分类:其他好文   时间:2014-06-28 13:41:01    阅读次数:201
json.net
using Newtonsoft.Json; JsonSerializerSettings set=new JsonSerializerSettings (); set.DateFormatString="yyyy-MM-dd hh:mm:ss"; hid.Value = JsonConvert.S...
分类:Web程序   时间:2014-06-28 13:37:02    阅读次数:308
java的几种对象(PO,VO,DAO,BO,POJO)解释
一、PO:persistant object 持久对象,可以看成是与数据库中的表相映射的java对象。最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合。PO中应该不包含任何对数据库的操作。 二、VO:value object值对象。通常用于业务层之间的数据传递,和PO一样也是...
分类:编程语言   时间:2014-06-24 10:28:01    阅读次数:228
decimal.tostring()格式
nt/Decimal.ToString 方法 (String, IFormatProvider)decimal value = 16325.62m; string specifier; CultureInfo culture;// Use standard numeric format specif...
分类:其他好文   时间:2014-06-24 09:52:33    阅读次数:299
[LeetCode] Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted fr...
分类:其他好文   时间:2014-06-20 15:29:46    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!