Package java.util
Class Hashtable

Public Method values

Collection values()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns a collection view of the values contained in this hashtable. The collection is backed by the hashtable, so changes to the hashtable are reflected in the collection, and vica-versa. The collection supports element removal, but not element add methods.

Example

   Hashtable hashTable = new Hashtable();
   hashTable.put("1", "h");
   hashTable.put("2", "a");
   hashTable.put("3", "s");
   hashTable.put("4", "h");

   Logger.log("" + hashTable.values());

The example above returns the collection view of the valuesin the hashtable.