update
This commit is contained in:
parent
a5cf3e5932
commit
59ea9c7c08
|
|
@ -12,10 +12,10 @@ public class Hash {
|
||||||
this.m2 = m2;
|
this.m2 = m2;
|
||||||
this.m = m1 + m2;
|
this.m = m1 + m2;
|
||||||
this.tabela = new int [this.m];
|
this.tabela = new int [this.m];
|
||||||
for(int i = 0; i < m; i++){
|
for(int i = 0; i < m1; i++){
|
||||||
tabela[i] = NULO;
|
tabela[i] = NULO;
|
||||||
}
|
}
|
||||||
reserva = 0;
|
reserva = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int h(int elemento){
|
public int h(int elemento){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue