Defines a method in the class called Echo that accepts a string as a parameter and returns a string as a result (functions and subs in classes are referred to as methods).
在类中定义方法echo,该方法接受字符串作为参数并返回字符串作为结果(类中的函数和sub被称为方法)。
When Monica was called upon to give her speech, she stood up and walked to the front of the class without any notes, in a show of confidence.
当莫妮卡被叫去演讲时,她站起来,走到教室前面,没有任何笔记,表现得很自信。
This semester I'm taking a class called The Anthropology of Reproduction.
这学期,我参加了一个课程,叫做:繁殖人类学。
This class, called the DCS Factory class, helps get the instance of the appropriate convertor for a particular conversion.
这个称为“DCS工厂类”的类帮助获取适当转换器的实例以便执行某个特定的转换。
The mapping primarily consists of the URI called by client and the action class which does the processing.
映射主要包括客户端调用的URI和进行处理的动作类。
The boy was called out to the front of the class.
这名男生被叫出来站在全班同学面前。
This parent address corresponds to the native data structure of the parent class loader (called the shadow).
这个父类地址对应于父类类装入器的原始数据结构(叫作 shadow)。
A class is typically loaded by a special class called the SecureClassLoader.
一个类通常是由一个名为SecureClassLoader的特殊类装载的。
Here is the class, in a header file called "Sample.h".
以下就是这个类,位于名为“Example . h”的头文件中。
You can see here that the PresenceMonitor USES a class called the PresenceSession.
在这里可以看到,PresenceMonitor使用了一个名为PresenceSession的类。
The base class defines a method called load .
基类定义了名为load的方法。
That is, the to_s method is called on the Class object.
也就是说,调用了Class对象的to_s方法。
Then, inside the generic class definition, the only constructors that could be called are those declared in the bound.
因而,在泛型类定义内部,唯一可调用的构造函数是那些在界限中声明的构造函数。
It is called before the class body is evaluated, as Listing 3 shows.
在类主体被处理之前,先会调用它,如清单3所示。
This instantiation involves the default constructor for the class being called, with the injection of dependencies happening afterwards.
这种实例化涉及到要调用的类的默认构造函数,随后还要注入依赖关系。
One class is called the function selector, and the other one is called data binding.
一个类称为函数选择器,另一个类称为数据绑定。
At the beginning of class, the teacher called from a list of names, expecting you to reply when she called yours.
在开始上课时,老师按照点名册开始点名,希望点到你时你能够答“到”。
The new class is called the distributed virtual switch, which enables cross-server bridging in a way that makes the underlying server architecture transparent.
新的类名为分布式虚拟交换机,它采用使底层服务器架构更透明的方法,支持跨服务器桥接。
There are methods in the class that get called back to feed both data and layout information to the table view.
类中有一些方法可以被回调,以便向表视图提供数据和布局信息。
One is an instance of the channel class (called channel).
一个是channel类的一个实例(称为channel)。
A snippet of the Action class code shown in Listing 1 illustrates how the Model service is called from the Action class.
清单1中所示的一小段action类代码说明了如何从action类中调用模型服务。
The base class is called viewer, which is an extension of a structured viewer.
基类叫做Viewer,它是结构化查看器的一个扩展。
In fact, the class is called CustomEvent.
事实上,这个类称为CustomEvent。
For bindings that work with interfaces or unmodifiable classes, JiBX instead adds the necessary marshalling/unmarshalling code to a special helper class (called the "munge" class) as static methods.
如果绑定要处理接口或不可修改的类,JiBX 转而把必要的编排/反编排代码以static 方法的形式,添加到特殊的助手类(叫作“munge”类)。
We'll learn one technique that helps when we discuss sealed class hierarchies in the section called "sealed class hierarchies" in Chapter 7, the Scala Object System.
我们会在《第7章-Scala对象系统》的“完成类(sealedclass)结构”讨论完成类的结构时学习到其中一种技术。
Selected method: Shows details, including the number of times that the selected method is called, the class and package information, and the time taken by this method.
Selectedmethod:显示方法的细节信息,包括选择的方法被调用的时间、类和包的信息、以及时间消耗。
The JournalEntry class, called by the SideNote action, uses these mechanisms to save the new document.
SidesNote 动作调用的类JournalEntry 使用这些机制保存新文档。
The validate method of the super class is called: super.validate (...)
超类的确认方法叫做:super . validate (…)。
The method test in the class above is called by a method in another class, as shown in Listing 17.
上面这个类中的test方法被另一个类中的方法调用,如清单17所示。
The method test in the class above is called by a method in another class, as shown in Listing 17.
上面这个类中的test方法被另一个类中的方法调用,如清单17所示。
应用推荐