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 void destroy(  ) throws IllegalStateException;
   public boolean hasNextElement(  );
   public boolean hasPreviousElement(  );
   public boolean isKeptUpdated(  );
   public void keepUpdated(boolean keepUpdated);
   public byte[] nextRecord(  ) throws InvalidRecordIDException,
                 RecordStoreNotOpenException, RecordStoreException;
   public int nextRecordId(  ) InvalidRecordIDException;
   public int numRecords(  );
   public byte[] previousRecord(  ) throws InvalidRecordIDException,
                 RecordStoreNotOpenException, RecordStoreException;
   public int previousRecordId(  ) InvalidRecordIDException;
   public void rebuild(  );
   public void reset(  );
}

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.