码迷,mamicode.com
首页 >  
搜索关键字:pig null    ( 34540个结果
jsp之EL表达式
1、null值null值会用""进行显示2、隐式对象1)、pageScope、requestScope(相当于request)、sessionScope(相当于session)、applicationScope(相当于servletContext)(这些跟范围有关)${requestScope.us...
分类:Web程序   时间:2014-07-01 23:00:37    阅读次数:300
HashMap和Hashtable的区别
HashMap 是Hashtable 的轻量级实现(非线程安全的实现),他们都完成了Map 接口,主要区别在于HashMap 允许空(null)键值(key),由于非线程安全,在只有一个线程访问的情况下,效率要高于Hashtable。HashMap 允许将null 作为一个entry 的key 或者...
分类:其他好文   时间:2014-07-01 22:44:17    阅读次数:344
Android使用ListView使用方法
Android使用ListView应该注意的地方在ListView中设置Selector为null会报空指针?mListView.setSelector(null);//空指针试试下面这种:mListView.setSelector(new ColorDrawable(Color.TRANSPARE...
分类:移动开发   时间:2014-07-01 21:22:44    阅读次数:293
c#设计模式-单例模式【转】
单例模式三种写法:第一种最简单,但没有考虑线程安全,在多线程时可能会出问题public class Singleton{ private static Singleton _instance = null; private Singleton(){} public static S...
分类:其他好文   时间:2014-07-01 20:39:28    阅读次数:263
kettle的乱码和null值无法插入
今天再弄kettle 的时候遇到两个问题, 1.更新数据的时候,遇到一个问题,就是我的输入表主键不是null,但是他一直说我插入null值 2.更新的数据,出现乱码首先说第一个 其实kettle在进行更新数据的时候,它是需要你根据你的主键进行更新,你的数据的,如果你的主键只进行比较而不进行更新,.....
分类:其他好文   时间:2014-07-01 20:38:03    阅读次数:275
以16进制打印出一块内存buff
如下代码(支持windows与Linux)会以【16进制】【每行16字节】打印出一块内存的内容:void PrintBuffer(void* pBuff, unsigned int nLen){ if (NULL == pBuff || 0 == nLen) { retur...
分类:其他好文   时间:2014-07-01 20:28:28    阅读次数:218
一些比较实用的javascript方法收集,留着有用
动态加载javascript文件Javascript代码Java代码functionGetXmlHttpReuqest(){varxmlHttp=null;try{xmlHttp=newXMLHttpRequest();//对于firefoxchrome等浏览器}catch(e){try{xmlHt...
分类:编程语言   时间:2014-07-01 20:00:16    阅读次数:355
Linked List Cycle II
题目 Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 方法 public ListNode de...
分类:其他好文   时间:2014-07-01 11:30:58    阅读次数:200
php 商务网站购物车联动地址
数据表如下:CREATE TABLE IF NOT EXISTS `china` (`region_id` smallint(5) unsigned NOT NULL, `parent_id` smallint(5) unsigned NOT NULL DEFAULT '0', `region_na...
分类:Web程序   时间:2014-07-01 00:50:55    阅读次数:255
Copy List with Random Pointer
题目 A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. 方法 publi...
分类:其他好文   时间:2014-06-30 19:36:33    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!