* What is a HashTable?
A Hashtable is used in Java to create a hash structure - that is, a structure with key-value pairs. To create a HashTable, one calls the constructor:
HashTable ht = new HashTable();
* What is a key/value pair?
A key-value pair (KVP) is a set of two linked data items: a key, which is a unique identifier for some item of data, and the value, which is either the data that is identified or a pointer to the location of that data. Key-value pairs are frequently used in lookup tables, hash tables and configuration files.
No comments:
Post a Comment