|
Slide 4.8: Preferences.java Slide 4.10: Line-by-line anatomy of RecordStore project (cont.) Home |
|
RecordStore Project
import javax.microedition.rms.*;
mForm.append( new StringItem( null, rse.toString( ) ) );
label—the Item labeltext—the text contents
private Hashtable mHashtable;
null object can be used as a key or as a value.
To successfully store and retrieve objects from a hashtable, the objects used as keys must implement the hashCode method and the equals method.