承接上文 ObjectFactory与IFactoryObject的杂谈 .net篇(环境为vs2012+Spring.Core.dll v1.31) public class parent { public string Name { get; set; } public int Age { get; set; } } public class CustomFactory : Spring.Objects.Factory.IFactoryObject { public object GetOb…
Some WatiN ExamplesBelow are some examples of WatiN codes for testing:// find div by idvar div = browser.Div("divId"); // find div by classvar div = browser.Div(Find.ByClass("divClass")); // click a divbrowser.Div("divId").Cl…
基础知识(包括但不限于:二叉查找树是啥,SBT又是啥反正又不能吃,平衡树怎么旋转,等等)在这里就不(lan)予(de)赘(duo)述(xie)了. 先贴代码(数组模拟): int seed; int _rand() { +; } template <class T> struct SbtNode { T val; int lSize; int rSize; int lch; int rch; void assignVir() { lSize=rSize=lch=rch=; } void ass…
杂谈之SolrCloud这个坑货 看<Solr In Action>时候看到对Solr不足的介绍有这么一段话:“One final limitation of Solr worth mentioning is its elastic scalability: the ability to automatically add and remove servers and redistribute content to handle load. While Solr scales well acr…