Commit 15:18
Poisson mostly okay, merlu and mackerel here and data parsing existing
This commit is contained in:
41
src/ecoparasite/poisson/Poisson.java
Normal file
41
src/ecoparasite/poisson/Poisson.java
Normal 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 "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user