码迷,mamicode.com
首页 >  
搜索关键字:return null    ( 92144个结果
SqlParameter Value=0 导致的null
微软官方的文档是说,Value这个Objec 来推断是什么SqlDbType。设为0 就给推断出Null了,所以先把它装箱为Object.Convert.ToInt32皆可
分类:数据库   时间:2014-05-09 16:37:59    阅读次数:296
[转]深入Java集合学习系列:HashMap的实现原理
1. HashMap概述:HashMap是基于哈希表的Map接口的非同步实现。此实现提供所有可选的映射操作,并允许使用null值和null键。此类不保证映射的顺序,特别是它不保证该顺序恒久不变。2. HashMap的数据结构:在java编程语言中,最基本的结构就是两种,一个是数组,另外一个是模拟指针...
分类:编程语言   时间:2014-05-09 12:22:37    阅读次数:478
Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:其他好文   时间:2014-05-09 12:00:21    阅读次数:309
获取布局 ActionBar
LayoutInflater inflater = getLayoutInflater();View imageLayout = inflater.inflate(R.layout.preference_image.xml,null);ImageView imageView = (ImageView...
分类:其他好文   时间:2014-05-08 21:34:32    阅读次数:307
jQuery同时处理一个控件的click和dblclick事件
1 jQuery.fn.single_double_click = function(single_click_callback, double_click_callback, timeout) { 2 return this.each(function(){ 3 var clicks...
分类:数据库   时间:2014-05-08 20:54:46    阅读次数:373
IOS 类别与扩展的区别 (category & extensions)
类别.h@interface NSString(XXXXXX)-(NSInteger)getLen;@end.m@implementation NSString(XXXXXX) -(NSInteger)getLen{ return 0;}@end//////////////////////////....
分类:移动开发   时间:2014-05-08 20:20:28    阅读次数:365
hdu 1159
题意:求最长子序列#include#includeusing namespace std;int max(int x,int y){ if(x>y) return x; return y;}int map[1001][1001];char s1[1001],s2[1001];int main(){ ...
分类:其他好文   时间:2014-05-07 20:07:29    阅读次数:202
求N个数的最大公约数
#include #include #define N 100int gcd(int x,int y){ int t; if(x<y) { t=x; x=y; y=t; } return (y==0)?x:gcd(y,x%y);...
分类:其他好文   时间:2014-05-07 19:29:36    阅读次数:309
hdu 1176
数塔问题#include#includeusing namespace std;int a[100009][12];int maxi(int a,int b,int c){ int max1; max1=a>b?a:b; max1=max1>c?max1:c; return ...
分类:其他好文   时间:2014-05-07 19:25:00    阅读次数:302
JQuery求和函数
function convert2Int(num) {num = parseInt(num); return isNaN(num) ? 0 : num; } $(function () { var rows = $("...
分类:Web程序   时间:2014-05-06 09:38:17    阅读次数:1838
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!