没有用于创建记录存储的构造函数。
清单18展示了将被写入到记录存储中的搜索字符串。
Listing 18 shows the search strings that will be written into the record store.
便利方法就是那些用来打开、关闭和删除记录存储的方法。
Convenience methods are the methods used to open, close, and delete record stores.
指派了枚举对象后,它将会调用搜索函数来搜索记录存储。
When the enumeration object is allocated, it will call our search function to search the record store.
本文开头部分曾经提到记录ID不能在记录存储中被重用。
From the beginning of the article, you may recall that record IDs are not re-used in a record store.
至此,我们已经使用一个简单的for循环遍历了记录存储。
Up to this point we've been traversing the record store with a simple for loop.
涉及的范围从添加、删除、替换记录内容到枚举整个记录存储。
These range from adding, deleting, and replacing record contents to enumerating through a record store.
在面向记录的方法中,J2MERMS由多个记录存储构成。
In a record-oriented approach, J2ME RMS comprises multiple record stores.
将这个参数设置为false则指定枚举忽略记录存储的更新。
Setting the parameter to false specifies the enumeration to ignore record store updates.
如果用户选择删除,所选择的这组约会在记录存储中被标记为无效。
If the user chooses to delete, the set of selected appointments is marked as invalid in the record store.
如果不去考虑我们是如何遍历记录存储的,那么这不会是一个问题。
This isn't a problem until you consider how we've been looping through the record store.
记录存储中的每个记录是一个字节数组,并且有唯一的整数标识符。
Each record in a record store is an array of bytes and has a unique integer identifier.
J2MEAPI提供某种接口来解释存储在记录存储中的数据。
The J2ME API provides certain interfaces to interpret the data stored in a record store.
文章开头部分介绍的便利方法使您可以在记录存储中写入和读取记录。
The convenience methods introduced at the beginning of the article will let you write and read records into the record store.
在清单10中,您可以了解到这两个数组如何表示来自记录存储的记录。
In Listing 10, you can see how these arrays represent records from the record store.
如果记录存储已经打开,这个方法将返回对同一个记录存储对象的引用。
If the record store is already open, this method returns a reference to the same record store object.
然而,对每条记录都包含不同数据类型的记录存储进行排序要复杂一些。
Working with a record store that contains multiple data types in each record presents a little more of a challenge, however.
RecordEnumeration接口负责枚举记录存储中的记录。
The RecordEnumeration interface is responsible for enumerating records in a record store.
这个枚举器将使用比较器作为排序算法,从记录存储创建一个记录结果集。
The enumerator will create a result set of records from the record store, using the comparator as the sorting algorithm.
bzrcommit记录存储库中所有文件的状态并添加简短的注释。
BZR commit actually records the state of all files in the repository and adds a brief annotation.
用户被允许从记录存储中选择某种约会以及将它们从记录存储中删除。
The user is allowed to select certain appointments and delete them from the record store.
在交互集评估中使用的事件、操作和筛选器历史记录存储在历史DBMS 中。
The history for events, actions, and filters used in the interaction set evaluation are stored in a history DBMS.
第二个参数指定有权访问记录存储的MIDlet是否可以创建一个新记录。
The second one specifies whether MIDlets that have access to the record store, can create new records.
第一个参数指定是否只有位于相同套件中的MIDlet才能访问这个记录存储。
The first parameter specifies whether or not only those MIDlets in the same suite can access the record store.
ReadWriteMIDlet只能将文本字符串写入到记录存储中。
The ReadWrite MIDlet only writes text strings to the record store.
第二个方法与第一个类似,只不过使用另外两个附加参数来指定记录存储的访问限制。
The second method operates in the same fashion but employs two additional parameters to specify the record store's access restrictions.
记录存储的名称最多可以包含32个字符,并且所有字符都是大小写敏感的。
A name may consist of up to 32 characters, and all characters are case sensitive.
例如,在将用户记录存储到用户表之前,php脚本可以使用crypt对密码加密。
Before storing a user's record into the users table, for example, it's likely that a PHP script USES crypt to encrypt the password.
在新的记录存储到本地后,现在我们就可以启用Web应用的完全脱机访问。
With new entries stored locally, you are now in a good position to enable full offline access to your Web application.
如果这个变量设置为true ,当记录存储发生改变时,枚举结果集将被重新初始化。
When this variable is set to true the enumeration result set will be re-initialized whenever the record store is changed.
应用推荐