What is the translation of " CLASS METHOD " in Chinese?

[klɑːs 'meθəd]
[klɑːs 'meθəd]
类方法
一个类方法

Examples of using Class method in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Strictly Strings a Comprehensive String Class Method.
严格符串全面方法课程.
For class methods, the corresponding indicator is a plus sign(+).
对于类方法,对应指示器是加号(+)。
The new method belongs to the class methods.
New方法属于类方法
Class methods have cis as their first argument, instead of self.
类方法的第一个参数必须为cls,而不再是self。
The static modifier for creating class methods and variables.
Static修饰符,用来创建类方法和类变量。
This is a class method, so the first argument is the class name.
这是一个类方法,因此第一个参数是类名。
How do I create static class data and static class methods?
如何创建静态类数据和静态类方法??
Since we already have our class method for adding transactions to a block, the rest is easy.
由于我们已经有了用于将事务添加到块中的类方法,因此其余操作很简单。
Static indicates that the main method is a class method.
关键字static指明该方法是一个类方法
The reflected method may be a class method or an instance method(including an abstract method).".
所反映的方法可能是类方法或实例方法(包括抽象方法)。
A static method inJava does not translate to a Python class method.
Java中的静态方法不能翻译成Python的类方法
Type methods are similar to class methods in Objective-C.
类型方法类似于Objective-C中的类方法
If, on the other hand, you would like to update several records in bulk,you may find the update_all class method useful:.
如果想批量更新多个记录,可以使用类方法update_all:.
Accordingly, the bytes type has an additional class method to read data in that format:.
相应地,bytes类型具有从此种格式读取数据的附加类方法:.
For example, using the JsonWriter class method WriteNumber(number) writes out the appropriate string representation of number according to the JSON standard.
例如,使用JsonWriter类方法WriteNumber(number)可根据JSON标准写出适当的“数字”形式的字符串表示形式。
Instance methods can access class variables and class methods directly.
实例方法可以直接访问类变量和类方法
Moreover, the state mode implementation class method generally returns a value, or changes the value of an instance variable.
而且,状态模式的实现类的方法,一般返回值,或者是改变实例变量的值。
Another interesting thing to note is that in theTopic model we have now an operation(a class method) named posts().
另一个值得注意的事情是,在Topic模型中,有一个名为posts()的操作(一个类方法)。
Instance is a class operation(that is, a class method in Smalltalk and a static member function in C++).
Instance是一个类操作(即Smalltalk中的一个类方法和C++中的一个静态成员函数)。
When messaging a class,the method you specify must be defined as a class method instead of an instance method..
向类发送消息时,您指定的方法必须定义为类方法,而非实例方法。
Among them, you can use the same abstract class method but different bridge implementation classes to draw circles of different colors.
其中,可以使用相同抽象类方法但是不同的桥接实现类,来画出不同颜色的圆。
When messaging a class,the method you specify must be defined as a class method instead of an instance method..
当给类发消息,你指定的方法必须被定义为类方法,而不是实例方法。
In case of classes and object instances, a class method's side effects should be limited to the state of the class instance being tested.
对类和对象实例来说,类方法的副作用应该限制在被测试的类实例的内部。
Accordingly, the bytes type has an additional class method to read data in that format:.
相应地,bytearray类型具有从此种格式读取数据的附加类方法:.
The constructor term better describes the__new__class method, which Python calls before__init__, and is responsible for actually creating and instance and returning it.
Constructor这个术语用于描述类中的new方法会更好,Python在调用init前调用该方法,它实际上负责创建并返回实例对象。
Accordingly, the bytes and bytearray types have an additional class method to read data in that format:.
相应地,bytearray类型具有从此种格式读取数据的附加类方法:.
The Java Language Specification just differs them as"class method"(static) and"instance method".
Java语言规范只是将它们区分为“类方法”(静态)和“实例方法”。
The following example illustrates how you use a class method as a factory method for a class..
下面的例子演示了一个类方法如何作为类的工厂方法。
Although option 2 will compile the call to amethod()invoke the Base class method and the string"Base" will be output.
选项2将会编译对于amethod()调用Base类的方法,并且输出字符串"Base"。
Results: 29, Time: 0.042

Word-for-word translation

Top dictionary queries

English - Chinese