You can just use equals() to compare the Hashtables, that should do exactly what you want, according to the API documentation.
Ofcourse you need to make sure that the classes that you use for the keys and values properly implement equals() and hashCode(), so that Java can compare them. [ August 26, 2007: Message edited by: Jesper Young ]