Skip to main content

Blog Archive for elevy during April 2007

If your application needs a "Hash Table" type of structure you have several options. One is to use the java.util.Hashtable. In a multithreaded environment it would be safe, but not very efficient. If you have a couple of threads that want to read from the hash table, they will have to wait for each other. This wait is not necessary. There is no problem having multiple threads reading a structure...