I can now fill the new empty class with attributes such as string and number types (representing the elements of the character), as well as functions common to this class.
我现在能向这新的空类填充属性,诸如字符串和数字类型(代表了角色的成分),以及这个类中常用的函数。
And then hash character takes in any string or character, single character, gives me back a number. Notice what I do.
然后哈希接受任何字符串或字母,单个字符,返回给我一个数字,注意我要做什么。
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
All specifications support relevant data types for the product domain, such as string, number, and date-related data types.
所有规格都支持与产品领域相关的数据类型,比如字符串、数字和与日期相关的数据类型。
This way, you can modify the number or string literal in just one place (the value of the field), instead of doing a search and replace throughout your code.
这样,在一个位置(字段的值)就可以实现对所有数字或字符串文字的修改,再也无需在整篇代码中执行查询和替代了。
The name and the phone number are concatenated into a single string and then split into an array of two strings.
姓名和电话号码被连接为一个字符串,然后分割为含两个字符串的数组。
Each string is the name of an item, and the corresponding number in the associative array is the quantity of that item in the cart.
每个字符串都是一个商品的名称,关联数组中的对应数字就是购物车中该商品的数量。
You can simply search the code in Listing 1 for the string and report that associated number.
可以在清单1的代码中查找字符串并报告相关的数量。
In a nutshell, facets further restrict a simple type by specifying the maximum length of a string or the upper and lower limits of a number.
本质上,刻面通过规定字符串的最大长度或者数字的上下限来进一步限制简单类型。
That method then grabs the number and USES it to construct a url string stored in the url variable.
该方法取得电话号码并构造存储在url变量中的ur l字符串。
So Listing 13 does the job, converting string to number and back to string again.
所以清单13同时完成这两项工作,它将字符串转换为数字,处理后再转换回字符串。
When you compile your program, the compiler knows which piece of code is a number, which is a string and so on.
当你编译程序时,编译器可以分辨出哪个是数字,哪个是字符串。
In the case of a graphic strings, two bytes constitute a character and you use the number of double bytes to represent the length of the string.
对于图形字符串,两个字节组成一个字符,使用双字节数来表示字符串的长度。
At the root of the proposed schema is the Application element, while the elements mapping the eight basic types (Boolean, String, and Number types) are at the bottom.
在所提议模式的根上,是Application元素,而映射到这八种类型(Boolean、String和number类型)的元素是在底层的。
It USES the base class to generate the first part of the ticket, then it generates the mega number and appends it to the string representation of the ticket.
它将使用基类来生成彩票的第一部分,然后将生成mega号码并将其附加到彩票的字符串表示后面。
If you omit it, your regex would match any string that begins with a letter, contains two to nine alphanumeric characters, and any number of any other characters.
如果忽略掉它,regex将匹配开头为字母、包含2至9个字母数字字符以及任意数目的任何其他字符的所有字符串。
It involves translating all the text into an easily recognizable benign string of the same number of characters and words. For example, the information message below.
该方法需要将所有文本转换成具有相同数量字符和词的易于识别的无害字符串。
To use, select the number or string literal in the editor, press Ctrl + 1 and select Extract to Constant.
要使用这个重构,请选择编辑器中的数字或字符串文字,然后按下Ctrl +1并选择Extract to Constant。
There are eight fundamental types (of values) in Lua: nil, Boolean, number, string, function, thread, table, and userdata.
Lua中的基本类型(值)有8种:nil,布尔型,数字,字符串,函数,线程,表以及用户数据。
If you need more detailed instructions, The XML Bible (see Resources) gives an excellent overview of XSL and XPath, including number conversions, comparisons and string operations.
如需更详细的说明,XMLBible(请参阅参考资料)会给您有关XSL和XPath的极好概述,包括数字转换、比较和字符串操作。
The return type can be any one of the four basic XPath 1.0 data types: boolean, string, node set, and number.
返回类型可以是4 种XPath 1.0基本数据类型之一:boolean、字符串、节点集和数字。
And, as you look at it carefully, you suddenly have an Epiphany that Seven is a string, not a number.
并且,如能仔细查看一下,不难发现Seven是一个字符串,而非数值。
In addition to comparing the length and index values for equality, you must also check for either a null Number after parsing or an empty input string (" "or length of zero).
除了要比较长度和索引值是否相等之外,还必须检查是解析后的nullNumber还是一个空的输入字符串(或长度为0)。
Double click on the LogPrimaryFiles string value and modify the value as required to change the number of primary extents.
双击LogPrimaryFiles字符串值,并根据需要修改此值,以更改主扩展的数量。
The XML Schema specification defines a number of primitive types, such as string, Boolean, and double, that a processor understands and provides an implementation for.
XML模式规范定义了许多原始类型,比如string、boolean和double,处理器可以理解这些类型并为其提供一个实现。
If none of those are found, it even tries converting the number to a string and calling foo (string).
如果均未找到,它甚至会尝试将数字转换成字符串,并调用foo (String)。
Ftsearch is the string of the query, and Max is the maximum number of results to return.
ftsearch是查询的字符串,max是要返回的结果的最大个数。
In particular, if one operand is a string and the other a number, the string will be converted to a number and the two operands then compared numerically. This can lead to subtle errors.
特别是,如果一个运算对象是字符串,另一个是数字,那么字符串将被转换为数字,然后再对两个数字进行数值比较。
For that effect, JSON defines the following main data structures: number, string, Boolean (true and false), array (an ordered sequence of values), object (collection of key value pairs), and null.
为了实现该目的,JSON定义了以下主要数据结构:数字、字符串、布尔值(真或假)、数组(值的有序排列)、对象(键值对集合)和null。
For that effect, JSON defines the following main data structures: number, string, Boolean (true and false), array (an ordered sequence of values), object (collection of key value pairs), and null.
为了实现该目的,JSON定义了以下主要数据结构:数字、字符串、布尔值(真或假)、数组(值的有序排列)、对象(键值对集合)和null。
应用推荐