这个相当于是对第一部分的补充说明,主要是想演示一下利用反射机制对一个对象进行拷贝,从而体现出对于Field类和Array类的使用情况。package com.javase.reflectionfuther;public class original { int age; String...
分类:
编程语言 时间:
2014-06-28 16:38:20
阅读次数:
213
测试发现,textarea和select的jquery的clone方法有问题,textarea和select的值clone的时候会丢掉,发现这个是jquery的一个bug,上不了的可以看下代码,比较简单。就是在clone的时候将val再重新赋值一下,如果知道这个了,就简单了自己写。引入到你要用的clone的页面就okjquery.fix.clone.js(function (original) {...
分类:
Web程序 时间:
2014-06-26 07:28:31
阅读次数:
287
monkey patch (猴子补丁) 用来在运行时动态修改已有的代码,而不需要修改原始代码。简单的monkey patch 实现:[python]#coding=utf-8def originalFunc(): print 'this is original function!'def modif...
分类:
编程语言 时间:
2014-06-24 22:50:22
阅读次数:
463
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1-...
分类:
其他好文 时间:
2014-06-22 22:57:49
阅读次数:
347
前话
Flume OG 也就是 Flume original generation 由 Cloudera公司开发,最新版本是0.9.4。而Flume NG 就是 Flume next generation, 大概在2011年6月份由 Cloudera贡献给开源社区,目前属于Apache的一个incubator project。官网:http://flume.appache.org/...
分类:
移动开发 时间:
2014-06-22 10:33:01
阅读次数:
266
-----------------------------------------------------------------------------------------------class='lazy' 载入样式,data-original指向图片地址底部引入jQuery和jQuery....
分类:
Web程序 时间:
2014-06-18 22:01:22
阅读次数:
539
直接在UI线程中开启子线程来更新TextView显示的内容,运行程序我们会发现,如下错 误:android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hiera...
分类:
移动开发 时间:
2014-06-18 15:04:26
阅读次数:
226
Oracle RAC 10g – Cache Fusion(original link is under the title)
分类:
其他好文 时间:
2014-06-18 10:30:38
阅读次数:
202
1、需要准备的工具,eclipse,cdt(c++)插件,cygwin(unix)和
android ndk.
在cygwin的etc目录下将ndk的路径引入到profile文件中,可以在cygwin的任何目录都可以访问到ndk,不同的ndk路径PATH的写法不同. :
${ORIGINAL_P.....
分类:
移动开发 时间:
2014-06-16 08:52:50
阅读次数:
393
Leather Mulberry spent so many years. Many
Mulberry handbags factory in southwest England. All bags are made from the
original pattern. They are not o...
分类:
其他好文 时间:
2014-06-12 21:28:07
阅读次数:
328