boilerplate

英 [ˈbɔɪləpleɪt] 美 [ˈbɔɪlərpleɪt]

n.  (可供模仿的)样板文件,文件范例

现在分词:boilerplating

COCA.28889



牛津词典

noun

  1. (可供模仿的)样板文件,文件范例
    a standard form of words that can be used as a model for writing parts of a business document, legal agreement, etc.

    双语例句

    1. You used several key technologies to remove tedious boilerplate code both from the server side and the client side: JPA, JAX-RS, and Dojo.
      使用了几项关键技术移除服务器端和客户端的繁杂的样板式代码:JPA、JAX-RS和Dojo。
    2. The included sample code ( see Download) extends Lombok to generate JavaBeans boilerplate code.
      所包括的示例代码(见下载)扩展Lombok来生成JavaBeans样板代码。
    3. Now, if you can, it's best to abstract out the boilerplate portions into a function.
      现在,如果可以,最好是能够将这些样板部分抽象成一个函数。
    4. Luckily, Android provides a way to encapsulate and eliminate most of this boilerplate code.
      幸好,Android提供方法来封装和消除大多数样本代码。
    5. Using boilerplate macros can make maintenance of such templated code much easier.
      使用样板宏可以使这种模板化代码的维护更容易。
    6. This class is mostly boilerplate code, not directly relevant to Comet.
      这个类基本上是样板代码,与Comet没有直接的关系。
    7. This could be done by affixing-m to macros and-b to variables defined within a boilerplate.
      可以将-m加到宏上,将-b加到样板中定义的变量上。
    8. Likewise, other standard macros can be created which make use of variables defined in the boilerplate.
      同样,也可以创建其他标准宏来使用样板中定义的变量。
    9. You can also create some helper methods to simplify the boilerplate initialization of the server object.
      还可以创建一些助手方法以简化服务器对象的样例初始化。
    10. As you can see, all the boilerplate typically found in a Rails 2 controller is missing.
      正如您所看到的,通常在Rails2控制器中提供的所有模板都不见了。
    11. Obtaining a simple reference to an EJB involved a lot of boilerplate code.
      为了获得一个简单的EJB引用,就需要许多样板代码。
    12. These two methods remove a lot of boilerplate code in most Web applications.
      这两个方法减少了很多Web应用程序中的样板代码。
    13. In this example, a fork still occurs, but much of the boilerplate work gets handled for us.
      在这个示例中,仍然会出现fork,但是已经为我们处理了大部分标准工作。
    14. The drawback is that it requires some boilerplate code to create new classes and manipulating objects around.
      不足之处在于这需要一些样板文件代码来创建一些新类并需要四处操作对象。
    15. This eliminates a lot of boilerplate code and extraneous mapping information from your application.
      这就在您的应用程序中消除了大量的错误代码和繁琐的映射信息。
    16. With JEE, annotation capabilities reduce boilerplate code and make deployment descriptors optional.
      有了JEE,注释功能就减少了出错代码,并使得部署描述器的选择更加自由。
    17. It uses binding to significantly reduce boilerplate code.
      它使用绑定极大地减少了样板文件代码。
    18. Lombok has a clever solution to the boilerplate code problem, however.
      然而,Lombok有一个很智能的方法来解决样板代码问题。
    19. Most of this is just boilerplate code: several fields with getters and setters.
      这段代码的大部分都是样本文件代码:几个字段和一些getter和setter方法。
    20. This kind of architecture could only be employed with powerful tools to keep developers from writing tedious boilerplate code.
      这类架构只能与强大的工具结合使用,从而使开发人员避免编写单调乏味的样板代码。
    21. When creating a new document, there is a shortcut for adding boilerplate HTML, as shown below.
      当创建新文档时,有一个添加样板HTML的快捷方式,如下所示。
    22. You can access and reuse boilerplate building blocks at any time.
      您可以随时访问和重新使用构建基块。
    23. This is a template file in which you can save boilerplate information.
      这是可用来保存样本信息的模板文件。
    24. In fact, although this structure can vary somewhat, this file consists of fairly typical boilerplate code.
      实际上,虽然这个结构可以变化,但是这个文件包含了相当典型的样板文件代码。
    25. In order to use this inside Equinox and Felix, we need to put in some boilerplate code.
      为了在Equinox和Felix里面使用这一服务,我们需要放一些样板代码进去。
    26. It includes a lot of boring boilerplate code.
      它包含了大量令人生厌的重复代码。
    27. Tedious boilerplate coding that you may otherwise be forced to write.
      乏味的样板代码,否则,你可能会被迫写。
    28. It reduces the need to write boilerplate code to perform standard tasks.
      l它减少了需要编写样板代码,执行标准的任务。
    29. However, after spending time with the trace class, I found myself writing a lot of boilerplate code.
      然而,在支出与跟踪的上课时间,我发现自己写了许多样板代码。
    30. JPA has made this task easier, but still requires a lot of boilerplate code.
      JPA让持久化变得非常容易,但是仍然需要编写很多模板代码。

    英英释义

    noun

    1. thick plate iron used in the production of boilers

      1. standard formulations uniformly found in certain types of legal documents or news stories