This is a really good topic to do with the class before an exam because it's a little bit of a lighter topic.
这对于考试之前的一节课来说是一个非常好的课题,因为这是一个稍微轻松一点的课题。
I hope you'll stay in the class, and try a bit more.
我希望你能留在班上,并多尝试一下。
This is a really good topic to do the class before an exam because it's a little bit of a lighter topic.
这对于考试之前的一节课来说,是一个非常好的课题,因为这是一个稍微轻松一点的课题。
In particular, new class derivation is a bit problematic for scripting languages, placing certain restrictions on the exact things you can do with them.
特别要注意,脚本语言的新类派生存在一定的问题,对使用其可完成的具体任务进行了一定的限制。
But before I get started, I have to point out something a little bit unusual about this class We're being filmed.
但在我开始之前,我要告诉大家这个课程的一点特别之处,我们会被录像。
When you're writing code, think about the contract — the particular bit you're writing will expose to its client, whether it's a method, a class, or a group of interacting classes.
当编写代码时,应考虑到这个契约——您将要编写的特定内容都将暴露给它的客户机,无论此内容是一个方法、一个类,还是一个与类交互的组。
So you can rewrite the code in Listing 10 a little bit by putting the locale get method in a utility class, as Listing 11 shows.
这样您就可以将场所获取方法放在工具类中,来重写列表10中的代码,如列表11所示。
This should look familiar; although the class names are a bit different and several options are set, this is not much different from the SAX parsing in Listing 1.
这些代码看起来是很熟悉,它与清单1 中的SAX解析几乎相同,尽管类名有所不同,许多选项是固定的。
In some cases, the refactoring that needs to happen is a bit more drastic, such as changing the name of a class entirely (meaning either the class name or the package it lives in).
在某些情况下,需要发生的重构可能更剧烈一些,例如整个更改一个类的名称(可以是类名,也可以是类所在的包的名称)。
We'll get into some spots where it gets a little trickier, a little bit more complicated later in class.
我们接下来在课堂上,会做一些更棘手,更复杂的问题。
So let me just introduce you to a little bit about matrices just enough for what we will need later on in this class.
所以我稍微讲一下矩阵,这些东西都是这节课上立马要用到的。
One extra utility class implements a bit of fuzziness in the checking to get HTML documents to pass (even without having all the closing tags XML requires).
一个附加的实用程序类在进行检查时会产生一些小麻烦,它会让HTML文档通过检查(即使那些文档没有xml必需的结束标记)。
Each worker thread performs some bit of work using the TaskHandler class.
每个工作者线程使用taskhandler类执行一部分工作。
Java.nio.charset.CharsetEncoder: This class defines an engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
CharsetEncoder:这个类定义了一个引擎,这个引擎可以将16位Unicode字符序列转换为采用特定字符集的字节序列。
TextSplitter USES a few heuristics to eliminate quite a bit of this gibberish, but an improved splitter class would probably bring indexing much closer to the desired asymptotic behavior.
TextSplitter使用某些启发式方法消除了部分此类乱码,但是改进的splitter类将会使索引更接近恶性状况。
As I already mentioned, the ProcessBuilder class is a bit more than just forking off a process and getting the results.
如前所述,processbuilder类不仅能生成新的进程,而且还能获得其结果。
The next step is to make the class a bit dynamic by creating the get_ and set_ methods on the fly for the individual fields.
下一步是让类变得稍微动态一些:动态地为每个字段创建get _和set _方法。
There's a bit of code duplication in the Person class, but I'll leave that for a later refactoring exercise.
在person类中有一些重复的代码,但我把它留给稍后的重构练习。
The pickling of class instances requires a bit more attention than the pickling of simple object types.
与pickle简单对象类型相比,pickle类实例要多加留意。
Returning to the calendar example, the last bit of the implementation is the AppointmentCalendar class, which appears in Listing 5.
返回到日历示例中,最后实现的是appointmentcalendar类,如清单5所示。
As noted, the CodeReviewResource class shown here is a bit of a black box; however, as you will see, the provider that you are writing does not actually interact with this class directly.
注意到,这里显示的CodeReviewResource类是一些黑框。但是,正如您所看到的那样,您正在创建的Provider实际上与该类并不直接交流 。
The second line (in Python 2.2 and above) tells Psyco to do the same with class methods. To target Psyco's behavior a bit more precisely, you can use the commands.
第二行(在Python 2.2及以上版本中)告诉Psyco对类方法执行相同的操作。
We'll talk a bit about that today,and then I'm going to talk in the class with a little bit of stuff on theory of interpretation that we've hit on over the semester.
我们今天会讲到这点,然后我会在班上讲一点,解读理论的内容,这些理论我们本学期都有所接触。
Actually, this message would likely be sent to the class that would then result in a return value of the created object, so I cheated a bit.
事实上,该消息将可能被发送到类,然后这将导致一个已创建对象的返回值,所以与我说的有点不符。
Finally, this was to be his semester - he barely earned his B. I was proud of him - and a bit relieved I wouldn't have him repeating my class a fourth time.
最终,这学期末他勉强得到了一个B。我为他感到骄傲,除此以外,还有一点的欣慰,因为他终于可以不用第四次出现在我的课堂上了。
With a little bit of work, we can extend JAAS to include a generalized class instance-level authorization framework.
只要做一点工作,我们将可以扩展JAAS,使其包含一个通用的、类实例级的授权框架。
I was proud of him - and a bit relieved I wouldn't have him repeating my class a fourth time.
我为他感到骄傲,除此以外,还有一点的欣慰,因为他终于可以不用第四次出现在我的课堂上了。
The execution model is a bit strange: The test class is reinstantiated every time a test method is executed.
执行模型有点奇怪:每次执行一个测试方法的时候,都要重新实例化测试类。
This class may perform a bit more slowly than its table-specific counterpart, but it saves me from having to write a lot of code.
这个类执行起来比起特定于表的类可能有点慢——但是把我从编写大量代码中解脱出来。
This class may perform a bit more slowly than its table-specific counterpart, but it saves me from having to write a lot of code.
这个类执行起来比起特定于表的类可能有点慢——但是把我从编写大量代码中解脱出来。
应用推荐