Implementato HashCode Dictionary via LinearProbing (Open Adress) e Chaining.

This commit is contained in:
2014-05-11 22:47:12 +02:00
parent 597626b34c
commit 53d6129052
19 changed files with 961 additions and 18 deletions

View File

@@ -0,0 +1,18 @@
package exceptions;
/**
* Signals that the boundaries of a data structure have been illegally
* traversed (e.g. past the end of a list).
* @author Roberto Tamassia
*/
//Copyright (c) 2003 Brown University, Providence, RI
//Additional modifications and methods by xgiovio
public class HashExceptionKey extends RuntimeException {
public HashExceptionKey(String message) {
super (message);
}
public HashExceptionKey() {
super ("Please use a string key or define an hash function");
}
}