constructor
英 [kənˈstrʌktə(r)]
美 [kənˈstrʌktər]
n. (尤指汽车或飞机的)建造者,制造者,建造商
复数:constructors
计算机
BNC.24093 / COCA.29875
牛津词典
noun
- (尤指汽车或飞机的)建造者,制造者,建造商
a person or company that builds things, especially cars or aircraft
柯林斯词典
- (汽车或飞机)制造商,建造公司
A racing car constructor or aircraft constructor is a company that builds cars or aircraft.
双语例句
- Its constructor will create a connection to the LDAP directory.
其构造函数将会创建一个对LDAP目录的连接。
- The constructor and destructor methods of this object do the necessary setup and cleanup.
这个对象的constructor和destructor方法执行必需的设置和清除工作。
- The Greeter constructor creates an instance of Message, which it then uses in the greet method call.
Greeter构造函数创建了Message的实例,随后会在greet方法调用中使用它。
- You must have a public default constructor.
您必须具有公共缺省构造器。
- Its constructor registers an un-caught handler.
其构造函数注册了一个未捕获的处理程序。
- The class also must have a no-arg constructor which will be used by Flex to instantiate an instance.
这个类还必须具有一个no-arg构造函数,该函数将被Flex用来实例化一个实例。
- Thus, you should never have a no-argument constructor for an immutable class.
因此,您永远都不该为一个不可变类提供一个无参数的构造函数。
- Each Worker object takes a single string for its constructor.
每个Worker对象都为其构造函数获取了一个单一字符串。
- Finally, the constructor function creates the slider's DOM tree and adds listeners to the slider.
最后,构造函数创建了滑块的DOM树,并向滑块添加了监听程序。
- This type actually defines the signature of a constructor for the specified class and a matching sequence of values.
该类型实际定义了指定用于类和值的匹配序列的构造器的签名。
- If you have an immutable object, you must set whatever state it will contain in the constructor.
如果您有一个不可变对象,则必须要在构造函数中设置该对象将包含的任何状态。
- In the method ( shown below), you create a Shell object with the default constructor.
在下面的方法中,您在默认的构造函数中创建Shell对象。
- The constructor of this class instantiates SQL and XA relevant classes
该类的构造函数实例化了SQL和XA相关类
- In the example shown here, the constructor accepts a string that represent the superclass name.
在我们的例子中,构造器接收了一个表示超类名称的字符串。
- We have added the String-based constructor for ease of use and testing.
而我们添加了基于字符串的构造函数,以便易于使用和测试。
- As for followpos(), I have added an accessor and new code in the class constructor
至于followpos(),我在类构造器中添加了一个取值(方法)和新代码
- In the action definition class, the action label is defined in the constructor by the setText() method.
在动作定义类里,使用setText()方法在构造函数里对动作标签进行定义。
- A UML operation representing a constructor is given the same name as its parent class or structure name.
表示构造方法的UML操作有和其母体类或结构名相同的名字。
- Invoking this method executes the rules that were previously loaded in the class's constructor.
调用该方法执行先前加载到类构造函数中的规则。
- The constructor instantiates DOM so that all underlying classes will use the same object.
构造器实例化了DOM,因此所有基本类都将使用同一个对象。
- I add a string name and port class variable and then two functions: a constructor and the server.
我添加了一个字符串名称、一个端口类变量,还有两个函数:构造器和服务器。
- It also creates a constructor that sets this instance variable.
同时也创建了用于设置这个实例变量的构造函数。
- You might be wondering what happens if you omit the parentheses from the constructor call.
您可能想知道如果省略了构造函数调用中的圆括号将会发生什么。
- The specified provider class does not have a default constructor.
指定的提供程序类没有默认构造函数。
- You will add more code to the constructor in a subsequent procedure.
您将在随后的过程中向构造函数添加更多代码。
- This constructor creates an empty request.
此构造函数创建一个空请求。
- As with instance initialization, you can use the initializer syntax as an alternative to the static constructor.
和实例初始化一样,可以使用初始化器语法作为静态构造函数的变体。
- Do not add parentheses to a method or constructor name unless you want to specify a particular signature.
不要对方法或构造函数名增加括号,除非你想表示特定的签名。
- The constructor is used to form a delegate over a target object and a function pointer.
这构造器用来通过一个目标对象和一个函数指针形成一个委托。
- The new wrapper type must have an empty constructor.
新包装类型必须具有一个空的构造函数。
英英释义
noun
- someone who contracts for and supervises construction (as of a building)
Synonym: builder
考试分类
行业分类
柯林斯词典词频分级词汇
其他分类