void Main(){ (new Director()).Show(new VisitorA());}class Director{ List elements = new List{ new ElementA(), new ElementB() };...
分类:
其他好文 时间:
2014-11-17 12:04:45
阅读次数:
165
mysql> show slave status\G;*************************** 1. row *************************** Slave_IO_State: Waiting for master to send eve...
分类:
其他好文 时间:
2014-11-17 10:39:25
阅读次数:
164
void Main(){ IShow proxy = new Proxy(); proxy.Show();}interface IShow{ void Show();}class Target:IShow{ public void Show(){}}class Proxy:I...
分类:
其他好文 时间:
2014-11-17 10:37:19
阅读次数:
116
void Main(){ Facade facade = new Facade(); facade.Show();}class Facade{ ProductA pa = new ProductA(); ProductB pb = new ProductB(); pub...
分类:
其他好文 时间:
2014-11-17 10:26:05
阅读次数:
140
void Main(){ FlyweightFactory.GetFlyweight("A").Show(1); FlyweightFactory.GetFlyweight("B").Show(2);}abstract class Flyweight{ public void Sh...
分类:
其他好文 时间:
2014-11-17 10:23:29
阅读次数:
173
void Main(){ Bridge bridge = new Bridge(); bridge.Set(new ShowA()); bridge.Show(); bridge.Set(new ShowB()); bridge.Show();}class Bridge...
分类:
其他好文 时间:
2014-11-17 10:21:36
阅读次数:
150
Jeff Lee blog: http://www.cnblogs.com/Alandre/ (泥沙砖瓦浆木匠),retain the url when reproduced ! Thanks Linked list is a normal data structure.here I show ho...
分类:
编程语言 时间:
2014-11-17 09:10:51
阅读次数:
169
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up: Did you use extra spac...
分类:
其他好文 时间:
2014-11-17 00:23:53
阅读次数:
244
/** * ThinkPHP version 3.1.3 * 部署方式:应用部署 * 文内的 http://localhost/ 由实际主机地址代替 */入口文件 index.php:show(' :)欢迎使用 ThinkPHP!','utf-8'); }}IndexAction.class...
分类:
Web程序 时间:
2014-11-17 00:17:06
阅读次数:
821
在problems窗口可以看到错误信息
菜单栏 window--》show view--》problems
或alt+shift+q 然后按x
重新选一下包就解决了...
分类:
编程语言 时间:
2014-11-16 21:41:14
阅读次数:
341