-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOcurrencia.java
More file actions
36 lines (29 loc) · 889 Bytes
/
Ocurrencia.java
File metadata and controls
36 lines (29 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import java.io.Serializable;
import java.util.Map;
class Ocurrencia implements Serializable {
private Integer FT;
private Map<Integer, Integer> indiceArchivos; // Ahora usamos índices en vez de rutas
public Ocurrencia(Integer FT, Map<Integer, Integer> indiceArchivos) {
this.FT = FT;
this.indiceArchivos = indiceArchivos;
}
public Integer getFT() {
return FT;
}
public void setFT(Integer FT) {
this.FT = FT;
}
public Map<Integer, Integer> getIndiceArchivos() {
return indiceArchivos;
}
public void setIndiceArchivos(Map<Integer, Integer> indiceArchivos) {
this.indiceArchivos = indiceArchivos;
}
@Override
public String toString() {
return "Ocurrencia{" +
"FT=" + FT +
", indiceArchivos=" + indiceArchivos +
'}';
}
}