AuD
Lecture 'Algorithmen und Datenstrukturen' (code examples)
CollisionHandler.java
Go to the documentation of this file.
1package aud.example.hash;
2
3
6public abstract class CollisionHandler<T> {
15 public abstract long newHash(SimpleHashtable<T> table,T key,long h,int count);
16}
Collision handling strategy in SimpleHashtable.
abstract long newHash(SimpleHashtable< T > table, T key, long h, int count)
Handle collision by computing a new hash value.
Base class for simple hash tables (mainly for demonstration).