When I run this piece of code, it displays 307 methods!
当我运行这段代码时,它显示了 307种方法!
One piece of code might have 10, 50, or more annotations.
一段代码可能会有10个、50个或更多的注释。
Listing 4 gives the next piece of code for the transform method.
清单4给出了转换方法的下一段代码。
The Web server plug-in is, by necessity, a small, portable piece of code.
Web服务器插件必须是一小块可移植的代码。
Listing 6 gives a piece of code, which sets the data layout panel invisible.
清单6给出了一小段用来设置数据布局面板成为不可见的代码。
What is the most exciting piece of code (that you know of) ever written in Bash?
(您知道的)用Bash编写的最令人激动的代码是什么?
And I think this is best illustrated by giving you a simple little piece of code.
我认为给你看一段简单的代码,可以很好的说明这个问题。
It's a reusable piece of code related to what gets displayed in the Web browser.
它是与Web浏览器中显示的内容相关的一个可重用代码段。
Let's look at a piece of code taken from this method, which you can see in Listing 8.
让我们看看来自此方法的一段代码,参见清单8。
Occasionally, multiple pairs of programmers may be working on the same piece of code.
偶尔,多个程序员对会处理同一段代码。
Being able to reuse SAX handler is great, but it is a somewhat complicated piece of code.
能够重用SAX处理程序是非常不错的,但其代码稍微有些复杂。
Scenario 5: a developer sits down to maintain a piece of code that he didn't develop.
情况5:开发人员坐下来维护不是他们开发的一小段代码。
Just how do you put a value on an open source, free for all, piece of code such as Linux?
怎样公平计算像Linux一样的开源、自由软件的全部价值,或一段代码的价值?
With this approach, you can validate many different kinds of data with a single piece of code.
通过这种方法,就可以用一块代码来验证很多不同类型的数据。
This piece of code is vulnerable to XSS attacks because no check is made to validate the input.
这段代码很容易受xss攻击,因为没有进行任何的输入验证。
We want to write a piece of code that helps these guys out, so I'm going to show you an example.
通过写一段代码,来解决一个这样的问题,接下来让我们来看个例子。
This next piece of code sets up an event handler to dictate what happens when a client sends data.
下一部分代码建立了一个事件处理器,规定了当一个客户端发送数据时要做的事情。
To begin, you must understand that an action is a piece of code that implements a predefined interface.
首先,您必须了解操作就是用来实现预定义接口的一段代码。
Validation is also more maintainable when you clearly specify the responsibility of each piece of code.
如果清晰划分了不同代码的职责,验证也容易维护。
A widget is a small piece of code that can run within a Web application and display any custom content.
小部件是一小段能够在Web应用程序中运行并显示任意定制内容的代码。
In open source, much of the collaboration is structured around a very tangible thing: a piece of code.
在开放源码领域,许多协作都是围绕非常具体的东西建立起来的,譬如一段代码。
Sometimes these tools will not measure the performance of some particular piece of code in the way you want.
有时,这些工具不会以您想要的方式测量某些特定代码段的性能。
Listing 2 shows a piece of code that results in a compile-time error because the copy constructor is private.
清单2显示了产生编译时错误的代码部分,因为该拷贝构造函数是私有的。
At this point, you have taken your simple piece of code and written a couple of client applications for it.
这时,您已经使用了您的一段简单的代码并为其编写了几个客户机应用程序。
With all of the benefits of migrations, you'd expect a complex piece of code, but they are incredibly simple.
迁移有这么多好处,您可能以为会有复杂的代码段,但实际上它们出奇的简单。
Efficiency: the longer you are away from a piece of code, the more likely you are to forget some of the details.
效率:越长时间不接触到你的代码,你越有可能忘记其中的部分细节。
To test code that accesses hardware, you must write a piece of code that responds in a way similar to the hardware.
为了测试访问硬件的代码,必须编写一段按照与硬件相似的方式做出响应的代码。
This example shows an internal method and assumes some other piece of code has identified the dispenser object.
这个例子显示了一个内部方法,并假设另一个代码段识别了分发器对象。
When you compile your program, the compiler knows which piece of code is a number, which is a string and so on.
当你编译程序时,编译器可以分辨出哪个是数字,哪个是字符串。
This is an OSGi-specific piece of code which is invoked when the bundle is started, like a per-bundle main method.
下面是OSGi特定的代码片段,在bundle启动时被调用,有点像是bundle的main方法。
应用推荐