Implement wildcard pattern matching with support for '?' and '*'.'?' Matches any single character.'*' Matches any sequence of characters (including th...
分类:
其他好文 时间:
2014-07-11 19:36:48
阅读次数:
202
SAP学习日志---Call method 的使用 以及常见错误转载▼可以通过以下方法 call method1. 进入全局类中 找到方法,拖到程序中2. 使用pattern 中的 AABAP Objects patterns 中的 Call method在调用cl_gui_alv_grid的方法s...
分类:
其他好文 时间:
2014-07-11 19:36:11
阅读次数:
1426
对正则表达式不是很熟悉,最近做项目需要用到正则,一段html代码,例如需要获取test1对应的value的值:Stringsource = "";String reg ="name=\"test1\"\\s+value=\"([^\"]*)\"";Matcher m = Pattern.compil...
分类:
编程语言 时间:
2014-07-11 18:32:07
阅读次数:
196
daniel@daniel-mint ~/msf/metasploit-framework/tools $ ruby pattern_create.rb 2000Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2...
分类:
其他好文 时间:
2014-07-11 12:41:00
阅读次数:
1179
设计模式是什么?
设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。
其本质就是继承与接口的组合应用。
为什么要用设计模?
使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性、提高工作效率。
设计模式的分类:
设计模式按目的可分为三种类型,共23种。
创建型模式:单例模式、...
分类:
编程语言 时间:
2014-07-11 00:45:52
阅读次数:
194
真机调试过程中弹出这个问题,网上找到的解决办法,记录一下。
。。。。
弄完这些步骤之后,上面多出一个 IOS disturbution。所以出现这个问题的原因应该是设置的证书没有刷新到本地所致。...
分类:
其他好文 时间:
2014-07-10 23:30:07
阅读次数:
245
Algorithm.( Augmenting Path Algorithm )
Input:
An X-Y bigraph G, a matching M in G,
and the set U of M-unsaturated vertices in X.
Idea:
Explore M-alternating paths form...
分类:
其他好文 时间:
2014-07-10 23:03:47
阅读次数:
211
本设计模式就是简单地记录当前状态,然后利用记录的数据恢复。
比如首先我们有一个类,类需要记录当前状态进行相关的工作的:
class Memo;
class Human
{
public:
string state;
Memo *makeMemo();
void restroDataFromMemo(Memo *m);
void show()
{
cout<<"State: "<...
分类:
其他好文 时间:
2014-07-10 21:58:16
阅读次数:
240
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover t...
分类:
其他好文 时间:
2014-07-10 21:21:42
阅读次数:
255
简单工厂模式是由一个工厂对象来决定创建出哪一种产品类的实例(对象),就是由一个工厂类根据传入的参数来决定需要创建哪一种产品的对象或实例。
此模式主要涉及到工厂角色,抽象产品,具体产品三个角色
工厂类(Creator),此模式的核心,含有与应用紧密相关的商业逻辑,
抽象产品(Product),担任需要创建产品的父类,一般由一个java接口事抽象类来实现
具体产品(Concrete Produ...
分类:
其他好文 时间:
2014-07-09 12:18:01
阅读次数:
187