|
Slide 4.10: Line-by-line anatomy of RecordStore project Slide 4.12: Line-by-line anatomy of RecordStore project (cont.) Home |
|
RecordStore Project (Cont.)
re = rs.enumerateRecords( null, null, false );
filter — if non-null, will be used to determine what subset of the record store records will be used.
comparator — if non-null, will be used to determine the order in which the records are returned.
keepUpdated —
recordIds for records that have been deleted or miss records that are added later.
filter and comparator are null, the enumeration will traverse all records in the record store in an undefined order.
RecordEnumeration.nextRecord( ) return the next consecutive record's data.
previousRecord( ), the record data of the last element of the enumeration will be returned.
re.hasNextElement( )
next direction.