- 双语例句 更多例句
一般的“装饰模式”是一种设计模式,允许动态地向现有组件添加新的行为。
互联网摘选
进入装饰器模式,该模式允许您通过一个优秀整洁的类将此功能添加到AutomobileModel。
互联网摘选
首先,我将演示修饰符模式在Groovy中的传统实现,然后再在后续示例中提高它的动态性。
互联网摘选
Enter the Decorator pattern, which can add a capability uniformly to any Widget.
我们进入有能够统一增加(一些特性)能力的装饰器模式。
互联网摘选
装饰(Decorator)模式是一种结构模式,它定义了缓存、发布与交换服务声明的封装器,用于连接合适服务与可重用的代理类。
互联网摘选
然而,装饰流程模式不仅适用于人工任务,还可以应用它来对任何类型的长时间运行的异步服务进行基于时间的版本管理。
互联网摘选
Strategy模式可用于实现操作的可变性,Decorator模式可用于实现参数的可变性。
互联网摘选
Both are based on the Decorator design pattern and utilize JUnit's suite mechanism.
这两种类型都基于Decorator设计模式并利用JUnit的suite机制。
互联网摘选
通过使用装饰模式,实现执行调用的代码与提供缓存的代码相分离,将非常简单。
互联网摘选
- 相关词组
- mosaic pattern[医]镶嵌样图象;
- color pattern彩色测试图;
- conduction pattern传导模式
- test patternn.(电视信号)测试图;
- edit pattern编辑形式;
- motivational pattern激励方式;
- pattern colorn.图案颜色;
- pattern bombingn.地毯式轰炸,饱和轰炸;
- pressure pattern压力模式;
- weather pattern[经] 天气型态;
- pattern conversion[计]模式转换;
- architectural pattern建筑标本;
- copy pattern复制图形;
- flower patternn.花纹,花样;
- holding pattern等待航线;
- Grain pattern木理纹;
- set decorator布景师;
- pattern of的模式
- proxy pattern代理模式;
- pattern airspeed起落航线飞行速度;
- 今日热词
- 热门搜索
- adequate adj.足够的;适当的,恰当的;差强人意的;胜任的;
- whom pron.谁(who的宾格);
- dam n.水坝,堰;水库;(牙科用的)橡皮障;〈比喻〉障碍;vt.用水坝阻止;阻塞,抑制;
- ego n.自我;自负;自尊心;自我意识;
- public n.平民;志趣相投的人;adj.公众的;公共的;政府的;公用的;公开的;公开场合的;;
- psp 程序段前缀;Play Station Portable,索尼公司开发的新型多功能掌机;
- decision making 决策,判定;作出判定;
- westlink 西遇;西域;西部公路
- timestamp 时间戳
- so-so adj.一般的;普通的;中等的;不好也不差的;
- could aux.能够,打算;用于假设语气的条件句;用于虚拟语气的结论句;modal.可能会,有时会;(用于表示对某人的行为的厌恶)能,可以;(询问是否可做某事)能,可以;(礼貌地请求别人做事以及提供或建议某事物时)能,可以;能,会;(用于建议)可以;好像,仿佛;(强调感觉)真想
- skyline n.地平线;(以天空为背景的)轮廓线;架空索;展览会场的顶层;
