• In cases where the string cannot be converted to an integer, a user-specified default int is placed in the target field.

    对于不能字符串转换整数情况目标字段中使用一个用户指定的默认整数

    youdao

  • For example, consider a person's age, one business object might express age as a string and another as an int.

    例如考虑个人年龄业务对象可能会将年龄表示字符串一个业务对象则会表示为一个整数值。

    youdao

  • The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).

    清单1中的示例说明了如何创建多种类型变量(整型浮点字符串数组函数)。

    youdao

  • Assign is only available for assigning a value to simple type fields, such as string and int. To create an assign mapping.

    Assign只能用于简单类型字段指定比如字符串整数

    youdao

  • Also suppose that the Collaborator object requires a string and a primitive int as parameters passed to the constructor.

    同时假定Collaborator对象要求使用字符串原始int作为传递给构造函数的参数

    youdao

  • send_message; this means that the parameters are an int, a char* (s for string), and an int; and that if an exception is thrown, the function is called TrayIcon.send_message.

    意味着参数依次intchar* (s 表示字符串 int而且如果抛出一个异常,则函数称作 TrayIcon.send_message 。

    youdao

  • Import XSD primitive data types to the model (these primitive data types can be used to use primitive types, such as string, int, and float in the schema).

    模型导入XSDprimitiveDataTypes(您可以使用原始数据类型利用原始类型,例如模式之中字符串整数以及浮动数)。

    youdao

  • One of them takes no arguments, another one takes an Int ID value, and another one takes both an Int and String.

    其中没有参数另外一个接受id还有一个同时接收整型字符串参数。

    youdao

  • In this case, you can use a Convert to ensure that the string age, which is expected, but not required to be an int, is actually an int in the target.

    对于这种情况可以使用Convert确保字符串格式年龄(预期的值,不一定数值)在目标一个整数值。

    youdao

  • For example, if you have a box designed to hold values of type int, you cannot put values of type string into that box.

    例如如果一个设计用来放入类型int盒子,你就不能类型是string的值放入那个盒子。

    youdao

  • To specify an int variable for an iterator and a String variable for element name, use the code in Listing 17.

    迭代器指定int变量元素名称指定String变量,请使用清单17中的代码

    youdao

  • Similar considerations apply if we change the type of the first parameter from String to int.

    如果第一参数类型String变成 int ,那么也得考虑相同的问题。

    youdao

  • Both blocks of code evaluate an int value using a switch statement that results in a human-readable string value printed to the console.

    这两个代码块都会使用switch语句计算int,从而得到输出控制台的供人阅读的字符串值。

    youdao

  • Click the default string type and select int from the types list.

    单击缺省string类型类型列表中选择int

    youdao

  • For example, if I have a method called draw (String STR), an overloaded version can have the following form: draw (String STR, int I).

    例如如果一个名为draw (Stringstr)的方法,那么重载方法可以以下形式:draw (String str,inti)。

    youdao

  • We now know that this represents a function pointer type that can refer to any method taking a single int argument and returning a string.

    我们现在知道函数指针类型可以引用任何有一个int类型参数并且返回一个string类型方法

    youdao

  • Several overloaded versions of these accessors are provided, allowing the properties to be accessed by passing the property name (String), number (int), or property meta object itself.

    这些访问器方法有不同重载版本可以通过传递属性(String)、编号(int)或者属性对象本身访问属性

    youdao

  • For example, an int parameter would be declared as int and a String parameter would be declared as String so a value could be returned in it.

    例如int参数声明intString参数被声明为String因而可以这些参数中返回一个

    youdao

  • It's much more difficult, say, to start with an XSD: int filler field and decide later that it should have been a string.

    如果这样做就困难:xsdint填充字段开始以后才决定应该字符串。

    youdao

  • The field types supported are: primitives (int, string, etc), Date, Timestamp, as well as objects composed of primitives, hashmaps, and collections (non-generic) of objects.

    支持字段类型原生类型(intstring)、DateTimestamp以及原生类型组合类型、hashmap对象集合(非范型)。

    youdao

  • The getInstance() method first tests to determine if the type under consideration is supported by reflecting an appropriate method: getInt() for an int, getString() for a String, and so on.

    getInstance()方法首先通过反射一个适当的方法测试判断当前考虑类型是否受支持getInt() 对应于intgetString() 对应于String等等

    youdao

  • Use the int variable iter to indicate the different "article" elements in the XML document, and the String variable elemtext to specify the element tag name.

    使用int变量iter表示XML文档不同article元素,同时使用String变量elemtext来制定元素标签名称

    youdao

  • If the part element has a type attribute, then you can tell directly whether the type is simple (for example, XSD: int, XSD: string, etc.) or complex.

    如果这个部分元素具有一个类型属性那么就可以直接看出这个类型简单的(例如xsdint、xsd:string等等)还是复杂的。

    youdao

  • Add a String field called name and an int field called id.

    添加名为nameString字段名为idint字段。

    youdao

  • Axis handles only basic primitive objects, such as String, int, float, and so on.

    Axis处理基本原始对象Stringintfloat

    youdao

  • The setProp.tag file can be used to set properties that have a type accepted by <c:set>, such as String, int, float, boolean as well as indexed properties, which can be String arrays.

    tag文件用于设置拥有 <c:set>接受类型比如Stringintfloatboolean)的属性索引属性,后者可能 String数组

    youdao

  • Interval averaged: the trace (long value, String name) and trace (int value, String name) methods issue traces for interval averaged values (see the Intervals sidebar).

    平均时间间隔trace (longvalue,Stringname)trace (int value, String name)方法发出时间间隔平均值跟踪(请参阅时间间隔侧栏)。

    youdao

  • Suppose two methods are identical except that one takes a parameter of type List [String] while the other takes a parameter of type List [Int], as in the the following example.

    假设两个方法其它方面一样只是其中接受List [string]参数另外一个接受List [int]参数,如下示。

    youdao

  • A new update method called updateStatus int userId, String status makes use of the saved access token see Listing 3. In the main method, comment out the line tt.updateStatus " studying."

    名为updatestatus (intuserId,Stringstatus)更新方法使用了存储访问令牌(参见清单3)。

    youdao

  • So far, nothing new here; you map the authors property, and the type is a class this time, instead of string or int.

    这很好理解,映射authors属性类型而不再stringint

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定