一些属性是字符串和基本类型值。
我们将其文本节点的值分别设为空字符串和0。
We set the values of their text nodes to the empty string and 0, respectively.
row版本将获取一个实参、字符串和可选块。
The row version takes one argument, a string, and an optional block.
为此,我们创建两个字段,一个字符串和一个数字。
Let's create two fields for that purpose, one a string and one numeric.
最后,您可以将字符串和节点集的组合作为参数来传递。
Finally, you can pass a combination of a string and a node-set as parameters.
将字符串和翻译存储在属性文件而不是词汇表数据库中。
Store strings and translation in properties files instead of glossary databases.
有许多用于处理日期、字符串和其他类型的数据的新函数。
There are many new functions for manipulating dates, strings, and other kinds of data.
为了从资源文件检索字符串和图片,您需要执行下列步骤。
To retrieve the string and image from the resource file, you need to do the following.
如果字符串和列都不应该为空,那么就请确保正确编写了迁移。
If you have strings and columns that should not be null, make sure you code your migration appropriately.
在XSLT 1.0中,只能使用字符串和RTF存储中间结果。
In XSLT 1.0, string and RTF are the only data types that you can use to store an arbitrary number of intermediate results.
这些代码能从事件数据获取PID字符串和ITEMTYPE名称。
This code obtains the PID string and ITEMTYPE name from the event data.
Assign只能用于为简单类型字段指定值,比如字符串和整数。
Assign is only available for assigning a value to simple type fields, such as string and int. To create an assign mapping.
文本是指“Psycho ”这样的字符串和1960这样的整数。
The literals are strings like "Psycho" and integers like 1960.
现在让我们编写一个简单的MIDlet,根据地区显示字符串和图片。
Now let's write a simple MIDlet that displays a string according to the locale as well as an image.
这些字段包含查询字符串和HTTP头部的值,并解析查询字符串。
These fields contain the query string and the values of the HTTP headers as well as parse the query string.
主构造函数,类的主题,有一个参数列表来接受标签字符串和回调函数的列表。
The primary constructor, which is the body of the entire class, has a parameter list that takes a label string and a list of callback functions.
清单2示范了使用DOM创建XML字符串和XML文档并设置格式以便查看。
Listing 2 illustrates the use of the DOM to create an XML string and XML document, formatted for your viewing pleasure.
通过使用常量字符串,可以避免分配内存、复制字符串和编码转换过程。
By using a constant string, you avoid allocating memory, copying the string, and the transcoding process.
而在属性文件中,可翻译字符串和不可翻译字符串分放在不同的文件中。
In the properties files, translatable strings and untranslatable strings are separated into different files.
xml解析器对任何写入到Unicode字符串和字符数组中的文档进行转换。
The XML parser converts whatever the document is written in to Unicode strings and char arrays.
在XPath表达式中,比较字符串和Boolean函数会得到非预期的结果。
In an XPath expression, comparing a string and a Boolean function can yield unexpected results.
到目前为止,该系列文章一直关注单个标量函数(数值、字符串和布尔值)的使用。
So far in this series of articles, we've been restricted to the use of single scalar values (Numbers, strings, and booleans).
创建了formatter类后,用格式化字符串和参数调用其for mat方法。
After creating a Formatter class, you call its format method with format strings and arguments.
test命令非常强大,但是很难满足其转义需求以及字符串和算术比较之间的区别。
The test command is very powerful, but somewhat unwieldy given its requirement for escaping and given the difference between string and arithmetic comparisons.
我使用GWT . log方法,该方法使用字符串和Throwable作为参数。
I use the method GWT.log , which takes a string and a Throwable as arguments.
原来的查询比较一个字符串和一个数字,但是在修改后的查询中执行了显式的类型转换。
Here the original query is comparing a string to a number but in the modified query, explicit type-casting has been done.
当然,结果不一定是有意义的 —— 比如字符串和浮点数的比较就没有意义。
Sure, the result would not necessarily be meaningful -- a string is neither objectively less than nor greater than a float.
关键词equals是指一个内嵌的通讯,它允许对字符串和其他原始类型的相等测试。
The equals keyword refers to a built-in correspondence, which allows one to test the equality of strings and other primitive types.
至此,已经有了一个标记数据库和一个包含英文字符串和翻译后的字符串的词汇表。
Now, you have a tag database and a glossary that contains the English strings and the translated strings.
字符串和字符数组在典型的业务应用程序中占用了大量的空间,所以它们是另一个值得分析的方面。
Strings and character arrays occupy a large amount of space in a typical business application, so they are another area worthy of analysis.
应用推荐