public class TabellaHashApertaBis implements Dizionario { // array di coppie (elem,chiave) private Coppia[] S; private Hash hFun; private Scansione cFun; // segno di cancellazione public static Object canc=new Object(); public TabellaHashApertaBis(int n, Hash hFun, Scansione cFun){ S=new Coppia[n]; this.hFun=hFun; this.cFun=cFun; } // classe Coppia private class Coppia { public Object elem; public Comparable chiave; public Coppia(Object e, Comparable k) { this.elem = e; this.chiave = k; } public String toString(){ return chiave.toString()+ ":"+elem.toString(); } } public void delete(Comparable k) { int hk=hFun.h(k, S.length); for(int i=0;i