Let's encapsulate that logic with a new class as shown in Listing 5.
让我们使用清单5所示的新类封装这种逻辑。
The next step is to encapsulate your newfound knowledge in a Groovy class.
下一步是将您的新发现封装到groovy类中。
I decided to create a class method that would encapsulate the above behavior.
因此我决定创建一个类方法来封装上面的行为。
In this code, Html is the object that will encapsulate the whole of the document.
在这段代码中,Html是封装整个文档的对象。
Services encapsulate function, whether it is business function or common utility function.
服务对功能进行封装,此功能可以是业务功能或实用功能。
The goal of design patterns is to encapsulate change.
设计模式的目标是把变化封装起来。
In fact, you can define a function to encapsulate them.
事实上,您可以自己定义一个函数来封装它们。
We often try to take what varies in a system and encapsulate it.
我们经常试着找出系统中的变化并封装它。
Objects encapsulate state and behavior into a single software module.
对象封装了状态和行为为一个软件模块。
They encapsulate the data, and provide mechanisms for defining data security.
它们封装数据,提供了定义数据安全的机制。
Patterns encapsulate a designer's time, skill, and knowledge to solve a software problem.
模式将设计人员的时间、技能和知识进行萃取,从而解决软件问题。
Encapsulate several lines of code into a single statement.
将几行代码封装成一条语句。
Encapsulate service id into element of SOAP header before the client sends request.
在客户机发送请求之前,将服务ID封装进SOAP报头的元素中。
Encapsulate service id into element of SOAP header before the client sends request.
在客户机发送请求之前,将服务ID封装进SOAP报头的元素中。
应用推荐