An implementation of a hash table in Java