Slide 4.10: Line-by-line anatomy of RecordStore project
  Slide 4.12: Line-by-line anatomy of RecordStore project (cont.)
  Home


Line-by-line Anatomy of RecordStore Project (Cont.)


re = rs.enumerateRecords( null, null, false );
The method public RecordEnumeration enumerateRecords(RecordFilter filter, RecordComparator comparator, boolean keepUpdated) returns an enumeration for traversing a set of records in the record store in an optionally specified order. If both the filter and comparator are null, the enumeration will traverse all records in the record store in an undefined order.
re.hasNextElement( )
The method public boolean javax.microedition.rms.RecordEnumeration.hasNextElement returns true if more elements exist in the next direction.