第一种:?method=addUI&parentid=${param.parentid}'" value="添加类别">第二种:通过onclick事件 onclick="method()"method(){window.location.href="xxxx.do?parame1='v1'¶...
分类:
Web程序 时间:
2014-09-03 21:10:57
阅读次数:
197
<form?action=""?method="get">
年<input?type="text"??name="y"?value="2014"?/>月<input?type="text"??name="m"?value="<?php?echo?$_GET[‘m‘];??>"?/>日<input?type="text"??name="d"?val...
分类:
其他好文 时间:
2014-09-03 19:58:37
阅读次数:
210
一 ,调用无参方法: import java.lang.reflect.Method; public class InvokeSayJapanDemo { public static void main(String[] args) { Class c1=null; try { c1=Class.f...
分类:
其他好文 时间:
2014-09-03 19:33:47
阅读次数:
180
我热爱 jQuery,且尽管我认为自己算是一名高级 JavaScript 开发者,我从来没有试过由头到尾把 jQuery 的源码看一遍,直到现在。这里分享一些我一路下来学到的东西:注意:我使用$.fn.method()语法来表示调用一组匹配元素的方法。比如当我说$.fn.addClass,则表示$(...
分类:
Web程序 时间:
2014-09-03 14:42:06
阅读次数:
190
1、问题
define a class for a linked list and write a method to delete the nth node.
2、算法
template
struct Node{
C content ;
Node* next ;
}
template
class List{
private:...
分类:
其他好文 时间:
2014-09-03 13:10:36
阅读次数:
189
A microprocessor contains an address generation unit, including a segment block, for loadingdescriptordata and a segment selector in a segment registe...
分类:
移动开发 时间:
2014-09-03 00:17:25
阅读次数:
336
Factory method工厂方法模式是一种实现了“工厂”概念的面向对象设计模式。就像其他创建型模式一样,它也是处理在不指定对象具体类型的情况下创建对象的问题。工厂方法模式的实质是“定义一个创建对象的接口,但让实现这个接口的类来决定实例化哪个类。工厂方法让类的实例化推迟到子类中进行。”创建一个对象...
分类:
其他好文 时间:
2014-09-02 21:09:45
阅读次数:
290
Description
Josephina is a clever girl and addicted to Machine Learning recently. She pays much attention to a method called Linear Discriminant Analysis, which has many interesting properties.
I...
分类:
其他好文 时间:
2014-09-02 17:52:25
阅读次数:
296
java 策略模式 模板方法 (Template method) 示例...
分类:
编程语言 时间:
2014-09-02 17:50:25
阅读次数:
186
第六章重新组织你的函数6.1ExtractMethod(提炼方法)对付过长函数,一般重要的重构方法就是ExtractMethod,他把一段代码从原先的函数中提取出来,放在单独的函数中。简洁而清晰,短小而精炼。1 void printOwing (douoble amount)2 {3 pri...
分类:
其他好文 时间:
2014-09-02 17:35:15
阅读次数:
250