Commit 15:18
javadoc
This commit is contained in:
@@ -6,12 +6,23 @@ import ecoparasite.input.RawData;
|
||||
import java.util.HashSet;
|
||||
|
||||
public class Merlu extends Poisson implements DataParsing {
|
||||
public Merlu(String species, Double length, Double infestation) {
|
||||
super(species, length, null, infestation);
|
||||
|
||||
/**
|
||||
* Construteur d'un merlu
|
||||
* @param length Un Wrapper Double representant la longueur/taille du poisson
|
||||
* @param infestation Un Wrapper Double representant le taux de parasite du poisson
|
||||
*/
|
||||
public Merlu(Double length, Double infestation) {
|
||||
super("Merlu", length, null, infestation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implémentation de la fonction parse de Dataparsing
|
||||
* @param data
|
||||
* @return tableau des poissons
|
||||
*/
|
||||
@Override
|
||||
public HashSet<Poisson> parse(RawData data) {
|
||||
public HashSet<Poisson> parse(RawData data) { //TODO
|
||||
|
||||
HashSet<Poisson> fishSet;
|
||||
fishSet = new HashSet<>();
|
||||
|
||||
Reference in New Issue
Block a user