The goal of design patterns is to encapsulate change.
设计模式的目标是把变化封装起来。
In fact, you can define a function to encapsulate them.
事实上,您可以自己定义一个函数来封装它们。
In my design, I decided to encapsulate each state change in an object.
在我的设计,我决定封装中的每个对象的状态变化。
We recommend that you always use post in order to encapsulate XML content.
为了封装xml内容,我们建议您始终使用post。
The next step is to encapsulate your newfound knowledge in a Groovy class.
下一步是将您的新发现封装到groovy类中。
It is still a good idea to use service locators to encapsulate resource access.
同样,使用服务定位器封装资源访问、以集合的形式使用服务定位器也是一个不错的想法。
It is possible to encapsulate very complex logic without worry about about concurrent accesses.
可以可能地封装十分复杂的逻辑,而不需要担心并行访问。
I decided to create a class method that would encapsulate the above behavior.
因此我决定创建一个类方法来封装上面的行为。
Patterns encapsulate a designer's time, skill, and knowledge to solve a software problem.
模式将设计人员的时间、技能和知识进行萃取,从而解决软件问题。
We often try to take what varies in a system and encapsulate it.
我们经常试着找出系统中的变化并封装它。
We often try to take what varies in a system and encapsulate it.
我们经常试着找出系统中的变化并封装它。
应用推荐