码迷,mamicode.com
首页 >  
搜索关键字:reactor pattern    ( 8184个结果
servlet和struts2一起使用,实现绝对路径下的图片输出到jsp页面
如果我们在web.xml中配置的struts2的接收请求的路径为: struts2 /* 是可以用struts2中使用servlet的,只是必须让struts2的action来转发到servlet的url-pattern中的地址就可以了。我们简单的举例如下:例如定义了一个ser...
分类:Web程序   时间:2014-06-28 12:53:40    阅读次数:227
设计模式之C++实现(持续更新)
【创建型】1、单例模式(Singleton Pattern) 2、工厂方法模式(Factory Method Pattern)3、抽象工厂(Abstract Factory Pattern)4、建造者模式(Builder Pattern) 5、原型模式(Prototype Pattern) 【结构型...
分类:编程语言   时间:2014-06-25 21:18:34    阅读次数:247
Wildcard Matching
题目 Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). The matching sh...
分类:其他好文   时间:2014-06-25 19:56:35    阅读次数:275
Desugar Scala(15) -- unapply和unapplySeq方法
欢迎关注我的新博客地址:http://cuipengfei.me/   实在想不到什么动词可以当做脱衣服来讲了,所以从现在开始这系列博文就叫做Desugar Scala了。除非哪天才思泉涌,又想到了新词:) 开始正文。 名字叫做unapply和unapplySeq的方法在Scala里也是有特殊含义的。 我们前面说过case class在做pattern match时很...
分类:移动开发   时间:2014-06-24 19:42:48    阅读次数:265
设计模式 - 模板方法模式(template method pattern) JFrame 详解
模板方法模式(template method pattern) JFrame 详解本文地址: http://blog.csdn.net/caroline_wendy参考模板方法模式(template method pattern): http://blog.csdn.net/caroline_wendy/article/details/32159455模板方法模式(template method ...
分类:其他好文   时间:2014-06-22 21:36:47    阅读次数:283
Java设计模式之观察者模式(Observer Pattern)
Observer Pattern 是一种常用的设计模式,它是一种事件监听模型,...
分类:编程语言   时间:2014-06-22 20:57:04    阅读次数:279
设计模式 - 模板方法模式(template method pattern) 详解
模板方法模式(template method pattern) 详解本文地址: http://blog.csdn.net/caroline_wendy模板方法模式(template method pattern): 在一个方法中定义一个算法的骨架, 而将一些步骤延迟到子类中. 模板方法使得子类可以在不改变算法结构的情况下, 重新定义算法中的某些步骤.模板方法可以进行挂钩(hook), 钩子(hoo...
分类:其他好文   时间:2014-06-22 18:49:01    阅读次数:227
每日算法之三十五:Wildcard Matching
模式匹配的实现,'?'代表单一字符,'*'代表任意多的字符,写代码实现两个字符串是否匹配。 Implement wildcard pattern matching with support for '?' and '*'.、 '?' Matches any single character. '*' Matches any sequence of characters (inclu...
分类:其他好文   时间:2014-06-22 16:40:44    阅读次数:225
设计模式 - 模板方法模式(template method pattern) Applet 详解
模板方法模式(template method pattern) Applet 详解本文地址: http://blog.csdn.net/caroline_wendy参考模板方法模式(template method pattern): http://blog.csdn.net/caroline_wendy/article/details/32159455模板方法模式(template method ...
分类:移动开发   时间:2014-06-22 15:28:58    阅读次数:176
设计模式 - 模板方法模式(template method pattern) 排序(sort) 详解
模板方法模式(template method pattern) 排序(sort) 详解本文地址: http://blog.csdn.net/caroline_wendy参考模板方法模式(template method pattern): http://blog.csdn.net/caroline_wendy/article/details/32159455模板方法模式的一个主要的应用是排序(sor...
分类:其他好文   时间:2014-06-22 15:24:51    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!