JavaDoc
This commit is contained in:
@@ -77,6 +77,13 @@ public class Poisson{
|
||||
this.infestation = infestation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter de l'attribut length
|
||||
* @param length le Double de la nouvelle valeur de la length
|
||||
*/
|
||||
public void setLength(Double length) {
|
||||
this.length = length;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter de l'attribut des parties de poisson.
|
||||
@@ -95,4 +102,6 @@ public class Poisson{
|
||||
String result = "[ %5s : %4f mm, %4f g, %4f taux d'infestation ]";
|
||||
return String.format(result, this.getClass().getSimpleName(), this.getLength(), this.getWeight(), this.getInfestation() );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user