本章介绍了存储字符串字面值的字符数组。
This chapter introduced the use of character arrays to hold string literals.
这个http头存储字符串值,并且它通常为一系列值。
This HTTP header stores a string value and is often a list of values.
如何存储字符串的磁盘有一个快速的读写访问?
How to store the strings on the disk to have a fast read and write access?
可以将它用作占位符来存储字符串值,稍后在会话处于激活状态时对其加以利用。
It can be used as placeholder to store the string values, which can be used later until the session is alive.
你可能认为在ArrayList中存储字符串可以使代码更简单,容易,更利于理解,同时避免重复,但是你也可以选择其它解决方案。
You might think that storing the strings in an ArrayList would make the code simpler, easier to understand, and avoid duplication, but you might also choose to defer this decision for now.
这种支持要比HTMLcookie先进得多,HTML cookie仅允许应用程序存储字符串名称值对,并且每个Web站点仅能存储4 k b名称值对。
This support is significantly more advanced than HTML cookies that allow an application to store only String-name value pairs and limit even those to a general restriction of four KBs per Web site.
本例只存储字符串数据,所以您可以简单地将之附加到一个较长的字符串后面,并调用Calculator Handler中的一个简单函数,然后该函数可以将之解析出来。
This example is only storing string data, so arguably you can simply append it to a longer string and call a simple function in the CalculatorHandler, which in turn can parse it out.
一台大型计算机的即时存取存储器可容纳多达100000个“单词”——字母或数字字符的字符串——随时可用。
The instant access memory of a large computer may hold up to 100,000 "words"—string of alphabetic or numerical characters—ready for instant use.
它可以将结果作为系统内存中的字符串存储到文件或数据库表内。
It can store the results as a string in system memory, into a file, or into database tables.
提要源细节可以通过存储在系统内存的字符串的形式,借助一个输入文件或作为数据库中的记录提供。
The feed source details can be provided in the form of a string stored in system memory, via an input file, or as records in a database.
如果您存储的是数字或字符串等标量值,那么将返回这些内容。
If you stored a scalar value like a number or string, then that is what will come back.
但是,如果能够创建XML对象,轻松地访问和过滤xml节点,轻松地把数据序列化成显示或存储所需的字符串,那么会怎么样呢?
But what if you could easily create XML objects, easily access and even filter XML nodes, and easily serialize the data to a string for display or storage?
在接下来的例子中,我们将增加存储和操纵整型、布尔型和字符串值的功能。
For the next example, we'll add the ability to store and manipulate arrays of integer, Boolean, and string values.
清单18展示了将被写入到记录存储中的搜索字符串。
Listing 18 shows the search strings that will be written into the record store.
您可以看到,这些文档可以存储包括字符串、整数、浮点数、日期、对象、数组等的各种数据类型。
As you can see, these documents can store various data types include strings, integers, floats, dates, objects, arrays and more.
为实现选项卡,将使用输出缓存区,在把选项卡内容呈现到页面中之前将其作为字符串存储(参见清单8)。
To implement the tabs, you use output buffering to store the content of the TAB as a string before rendering into the page (see Listing 8).
可以使用UTF - 8编码在内部存储所有字符串,并确保到此脚本的所有输入以及源自此脚本的所有输出都被恰当地编码和解码。
You can internally store all strings in UTF-8 encoding and make sure that all input to and output from the script is properly encoded and decoded.
助手方法采用适当的数据类型并执行必要的转换以便将数据存储为字符串。
The helper methods take the appropriate data type and do the necessary conversions to store the data as a string.
解决这个问题的一个简单方法是创建一个通用散列表,该表提供存储和检索字符串的一种机制。
A simple way around this is to create a general purpose hashtable that provides a mechanism for storing and retrieving strings.
在第二组存储过程中,使用字符串替代了阵列,且大量使用光标以便从多行结果集合中提取行。
In the second set of stored procedures, strings were used in place of arrays, and cursors were heavily used to fetch rows from multi-row result sets.
这些结果将存储为字符串数组。
因此,上面的字符串存储为由ascii字符值组成的列表(参见清单19)。
Thus the above string is stored as a list of the ASCII character values (see Listing 19).
这里需要一个词汇表数据库来存储要翻译的英文字符串。
A glossary database is required to store the English strings for translation.
比这稍大一点的字符串存储到适当的行和列时会被截断。
A bite string larger that this will be truncated when stored in the appropriate row and column.
字节数组限制为MAX_VALUE_LENGTH长度75%,因为字节数组是通过编码为字符串存储的。
Byte arrays are limited in length to 75 percent of MAX_VALUE_LENGTH because byte arrays are stored by encoding them as strings.
缩略词数据存储为字符串。
在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.
通常,查询字符串被解析并存储到params中。
图7显示了示例数据访问对象(Data Access Object,DAO)代码的关键部分,并演示了如何从属性文件中存储的字符串检索和重新构建ACL信息。
Figure 7 shows the critical portion of our example Data Access Object (DAO) code, demonstrating how to retrieve and reconstitute ACL information from strings stored in a properties file.
该函数以字符串的形式存储了PortletRequest参数的值。
This function stores the value of the PortletRequest parameters in strings.
应用推荐