May 15, 2004

Hashtable interface to MIDP RecordStore

Posted at May 15, 2004 01:09 AM in J2ME .

Complete with code, this blog entry discusses creating an adapter to the J2ME RMS classes.


I have created a special adaptor to the RMS. It doesnot cover all the RMS capabilities but allows us to use RMS as a backend for a Map-like object structure. There is no java.util.Map interface in MIDP, so our "RecordMap" adapter uses java.util.Hashtable as a pattern. Even more, it extends java.util.Hashtable. It is a pure interface inheritance, all the methods are overridden in our RecordMap.


J2ME Brings Joy to Me

Trackback

You can ping this entry by using http://www.mamlambo.com/mt/mt-tb.cgi/54 .

Comments

Post a comment










Remember personal info?