posted 18 years ago
Hi Fellas,
Once a Record Store has been enumerated, there are many methods provided under RecordEnumeration Interface to maniputlate the enumeration...
One such a couple is, int nextRecordId() and int previousRecordId()
I will take int nextRecordId() to convey my problem...
this when invoked on record enumeration, returns the Record ID as an int...
The interesting part is, it advances the pointer too, to the position indicated by the return record ID..
since there isn't a "public byte[] getRecord()" defined by RecordEnumeration interface.... what use do we establish by the getting the record ID of the next element at the cost of pointer advancement...
please state a few usages of the above in practice..
Thanks in advance
Theepan Thevathasan
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)