Name
javax.microedition.rms.RecordEnumeration
Synopsis
This interface maintains a sequence of the record IDs of the records in a record store. The enumerator iterates over all the records in an order determined by an optional record comparator. In order to iterate over a subset of the records, a filter can be supplied.
public interfaceRecordEnumeration
{ // public instance methods public voiddestroy
( ) throws IllegalStateException; public booleanhasNextElement
( ); public booleanhasPreviousElement
( ); public booleanisKeptUpdated
( ); public voidkeepUpdated
(boolean keepUpdated); public byte[]nextRecord
( ) throws InvalidRecordIDException, RecordStoreNotOpenException, RecordStoreException; public intnextRecordId
( ) InvalidRecordIDException; public intnumRecords
( ); public byte[]previousRecord
( ) throws InvalidRecordIDException, RecordStoreNotOpenException, RecordStoreException; public intpreviousRecordId
( ) InvalidRecordIDException; public voidrebuild
( ); public voidreset
( ); }
Get Wireless Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.