A lot of things².

- Change DataParsing to a generic interface.
- Add PartiePoisson
- Add comments to Population class.
This commit is contained in:
2026-04-01 14:34:07 +02:00
parent 3a6968f40f
commit 6420a4c606
12 changed files with 401 additions and 54 deletions

View File

@@ -61,6 +61,22 @@ public class Poisson{
return infestation;
}
/**
* Getter de l'attribut des parties de poisson.
* @return Le HashSet des parties de poisson.
*/
public HashSet<PartiePoisson> getFishParts() {
return fishParts;
}
/**
* Setter de l'attribut des parties de poisson.
* @param fishParts Un hashset de parties de poisson.
*/
public void setFishParts(HashSet<PartiePoisson> fishParts) {
this.fishParts = fishParts;
}
/**
* Permet d'afficher les informations de notre poisson
* @return La string contenant les informations