type parameter

[taɪp pəˈræmɪtɚ][taip pəˈræmitə]

[计] 类型参数

  • The generic type parameter T is the primary type that you wish to cast the class to .

    您希望对类进行强制转换的主要类型是泛型 类型 参数T。

  • In the case of generic methods if a type parameter appears only once in the method signature then it probably should be a wildcard rather than a named type parameter .

    就泛型方法来说,如果一个 类型 参数在方法签名中只出现一次,它很有可能是一个通配符而不是一个命名的类型参数。

  • Comparative study in hydraulic characteristics of differential body type parameter of hybrid type flip bucket

    高扩散低收缩差动式挑坎不同 体型 参数水力特性研究

  • Providing a data type parameter with the as attribute already traps many errors .

    通过as属性提供数据 类型 参数已经捕捉了许多错误。

  • Wildcards the funky question marks where a type parameter should go are a means of expressing a type constraint in terms of an unknown type .

    通配符使用一个奇怪的问号表示 类型 参数是一种表示未知类型的类型约束的方法。

  • Similarly it returns an ArrayList because that is the third type parameter of the AsyncTask .

    类似地,它返回一个ArrayList,因为这是AsyncTask的第三个 类型 参数

  • When a Web service method with a complex type parameter receives a null or an instance with some attributes having null values Lotus Domino V7.0.2 and Lotus Domino V8 behave differently .

    当带有复杂 类型 参数的Web服务方法收到null或带null值属性的实例时,LotusDominoV7.0.2和LotusDominoV8的行为不尽相同。

  • The type parameter of that function allows a DER-encoded certificate to be loaded .

    这个函数的 type 参数让我们可以加载使用DER编码的证书。

  • But this code does not work & you cannot instantiate an array of a type represented by a type parameter .

    但是这段代码不能工作&不能实例化用 类型 参数表示的类型数组。

  • You are allowed to specify the value of the type parameter if you like but only if you can name the type & and the capture types are not denotable .

    如果愿意,您可以指定 类型 参数的值,但只有当您能够命名该类型时才可以这样做&并且不能够表示捕获类型。

  • For instance C is not a naked type parameter but ( in the body of C ) T is .

    例如,C不是“外露” 类型 参数,但(在C主体中)T是。

  • The only thing it cannot do is call the put () method and this is because it cannot verify the safety of such an operation without knowing the type parameter T for this Box instance .

    它惟一不能做的事是调用put()方法,这是因为在不知道该Box实例的 类型 参数T的情况下它不能检验这个操作的安全性。

  • If x is a generic collection o does not have to be type-compatible with the type parameter of x.

    如果x是一个泛型集合,那么o不一定与x的 类型 参数兼容。

  • But you cannot use a type parameter to access a constructor because at compile time you don 't know what class is being constructed and therefore what constructors are available .

    但是您不能使用 类型 参数访问构造函数,因为在编译的时候还不知道要构造什么类,因此也就不知道使用什么构造函数。

  • We can 't know whether the super-constructors called in Scrollable are valid unless we know all the ways in which type parameter T is instantiated for JSplitPanes .

    除非我们知道将 类型 参数T实例化为JSplitPanes的一切方法,否则我们不能知道在Scrollable中调用的超级构造函数是否有效。

  • Because the runtime cannot tell a List from a List ( at runtime they 're both just Lists ) constructing variables whose type is identified by a generic type parameter is problematic .

    因为运行时不能区分List和List(运行时都是List),用泛型 类型 参数标识类型的变量的构造就成了问题。

  • For one thing the type parameter declarations can easily become wordy .

    首先, 类型 参数声明很容易变得冗长。

  • Thus when a type parameter T is used as the superclass of a generic class the annotation on T tells us exactly what super-constructors we can call .

    因此,当 类型 参数T用作泛型类的超类时,T的注释确切地告知我们可以调用哪些超级构造函数。

  • Needless to say this corresponds to the type parameter accepted by the Web service operation ( retrieveByType ) .

    不用说,这对应于Web服务操作(retrieveByType)接收的 type 参数

  • In other words the type parameter is a string consisting of casting trolling or other .

    换句话说, type 参数是包含casting、trolling或other的字符串。

  • Then the type parameter instantiations would be inferred automatically from the method arguments .

    然后会自动地从方法参数中推断出 类型 参数的实例化。

  • Because a mixin 's parent may be instantiated with a type parameter there is no way for the type checker to determine all cases of accidental method overriding .

    因为mixin的父类可能用 类型 参数被实例化,因此类型检查器就不能确定意外方法覆盖的所有情况。

  • Require a zeroary constructor for all type parameter instantiations .

    需要一个不带参数的(zeroary)构造函数,用于所有 类型 参数的实例化。

  • Box is parameterized by a type parameter T which signifies the type of the contents of the box ; a Box can contain only elements of type String .

    Box由 类型 参数T参数化,该参数表示Box内容的类型,Box只能包含String类型的元素。

  • Add a comma and continue the type parameter list or add a closing parenthesis character to terminate the list .

    请添加逗号,然后再继续向 类型 参数列表中添加项,或添加右括号字符结束列表。

  • Require all instantiations of a type parameter to include a zeroary constructor .

    要求 类型 参数的所有实例化都包括不带参数的(zeroary)构造函数。