Controllers sans that fussy boilerplate code.
用于模糊样板代码的控制器。
But often the boilerplate code isn't so pretty.
但是通常来说,这些样板代码并不会如此精美。
It USES binding to significantly reduce boilerplate code.
它使用绑定极大地减少了样板文件代码。
However, Listing 3 still has a lot of boilerplate code.
然而,清单3中仍然有一些样本代码。
This class is mostly boilerplate code, not directly relevant to Comet.
这个类基本上是样板代码,与 Comet没有直接的关系。
Lombok has a clever solution to the boilerplate code problem, however.
然而,Lombok有一个很智能的方法来解决样板代码问题。
As you can see, Listing 4 has much less boilerplate code than Listing 3.
如您所见,清单4比起清单3样本代码明显减少。
Obtaining a simple reference to an EJB involved a lot of boilerplate code.
为了获得一个简单的EJB引用,就需要许多样板代码。
JPA has made this task easier, but still requires a lot of boilerplate code.
JPA让持久化变得非常容易,但是仍然需要编写很多模板代码。
These two methods remove a lot of boilerplate code in most Web applications.
这两个方法减少了很多Web应用程序中的样板代码。
Most of this is just boilerplate code: several fields with getters and setters.
这段代码的大部分都是样本文件代码:几个字段和一些 getter 和 setter 方法。
We can now create new forms based on our boilerplate code by doing the following
现在,就可以使用以下代码根据样板代码创建新表单
Traditionally, supporting JMX involves implementing patterns with boilerplate code.
传统上,支持JMX包括用样本代码实现模式。
That's useful, but at times you may also want to generate your own boilerplate code.
这个很有用,但有时您还需要生成自己的样本代码。
Programs that have a lot of boilerplate code that cannot be abstracted into functions
有大量样板文件的程序,但是无法抽象成函数
In order to use this inside Equinox and Felix, we need to put in some boilerplate code.
为了在Equinox和Felix里面使用这一服务,我们需要放一些样板代码进去。
This means that boilerplate code is one of the few places where non-hygienic macros are useful.
这意味着样板代码是适合使用非健康宏的少数几种情况之一。
Increase the productivity of software engineers by abstracting from low-level boilerplate code.
从低层次的重复代码中抽象出来,提高软件工程的生产效率。
One way to reduce the pain of building boilerplate code is Visual Studio's code snippets feature.
减轻书写模板代码之痛苦的途径之一,是VisualStudio的代码片断功能。
Furthermore, there is quite a bit of boilerplate code involved in setting up an asynchronous call.
此外,在建立异步调用时还包括不少样板代码。
With JEE, annotation capabilities reduce boilerplate code and make deployment descriptors optional.
有了JEE,注释功能就减少了出错代码,并使得部署描述器的选择更加自由。
The drawback is that it requires some boilerplate code to create new classes and manipulating objects around.
不足之处在于这需要一些样板文件代码来创建一些新类并需要四处操作对象。
A very basic PyQt application always has some boilerplate code that is the same everywhere, as does Tkinter code.
一个非常基本的Py Qt应用程序总有一些样本代码,这些代码在哪里都相同,Tkinter代码也是这样。
If you decide to use Lombok, there's a chance that you might want to extend it to generate your own boilerplate code.
如果决定采用Lombok,那就可能会希望对其进行扩展,来生成自己的样板代码。
Have a naming convention which clearly labels macros as such, as well as indicate that a variable came from boilerplate code.
为宏建立明确的命名约定,并指出来自样板代码的变量。
This kind of architecture could only be employed with powerful tools to keep developers from writing tedious boilerplate code.
这类架构只能与强大的工具结合使用,从而使开发人员避免编写单调乏味的样板代码。
I'm going to use reflection to create a generic sorting infrastructure that doesn't have so much duplicated, boilerplate code.
我准备使用反射(reflection)来创建一种通用的排序基础设施,其中不会涉及大量复制的样板代码。
In such cases, it is often a good idea to create a mini-language that allows you to work with your boilerplate code in an easier fashion.
在这种情况中,通常创建一个小型的语言来更简单地利用样板文件的代码。
The gwt.js and nocache.html files both contain more or less boilerplate code designed to start and load your GWT application properly.
js和nocache.html文件都或多或少地包含了专门用于正确地启动和装入GWT应用程序的样例代码。
We've tried to factor out all the boilerplate code into the Ubiquity core, so that writing a useful Ubiquity command is as simple as this.
我们已经试图把所有样板代码写入ubiquity的核心,这样写一个有用的Ubiquity命令就会如此之简单。
应用推荐