| element() | ใช้คืนค่า value ทั้งหมด ที่มีใน Dictionary |
|---|
method:element ();
return type:Enumeration
content:ใช้คืนค่า value ทั้งหมด ที่มีใน Dictionary
example:Dictionary dictionary = new Dictionary (); dictionary.put ( "bamboo", "ไม้ไผ่" ); dictionary.put ( "lab", "ห้องปฏิบัติการ" ); dictionary.put ( "code", "รหัส" ); Enumeration enumeration = dictionary.element ();