A lot of things².
- Change DataParsing to a generic interface. - Add PartiePoisson - Add comments to Population class.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user