Commit 15:18

Poisson mostly okay, merlu and mackerel here and data parsing existing
This commit is contained in:
2026-03-18 15:19:10 +01:00
parent bd2ff7f889
commit 9752aba641
7 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
package ecoparasite.poisson;
import java.util.HashSet;
public class Poisson{
private String specie;
private Double length;
private Double weight;
private Double infestation;
protected HashSet<PartiePoisson> fishParts;
public Poisson(String specie, Double length, Double weight, Double infestation){
this.specie = specie;
this.length = length;
this.weight = weight;
this.infestation = infestation;
}
public String getSpecie() {
return specie;
}
public Double getLength() {
return length;
}
public Double getWeight() {
return weight;
}
public Double getInfestation() {
return infestation;
}
@Override
public String toString(){
return "";
}
}