|
Slide 4.9: Line-by-line anatomy of RecordStore project Slide 4.11: Line-by-line anatomy of RecordStore project (cont.) Home |
|
RecordStore Project (Cont.)
mHashtable.get( key )
null is returned if the key is not mapped to any value in this hashtable.
mHashtable.put( key, value );
RecordStore rs = null;
RecordEnumeration re = null;
Record enumerator.
The RecordEnumeration logically maintains a sequence of the recordId's of the records in a record store.
The enumerator will iterate over all of the records in an order determined by an optional record comparator.
RecordFilter, a subset of the records can be chosen that match the supplied filter.
RecordComparator, the enumerator can index through the records in an order determined by the comparator.
rs = RecordStore.openRecordStore( mRecordStoreName, true );