Skip to content
Snippets Groups Projects
Commit 7571ac60 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Added toString() method for DEBUG purposes

parent 0c97d246
No related branches found
No related tags found
No related merge requests found
...@@ -179,4 +179,15 @@ public class OptimizationObservation implements Comparable{ ...@@ -179,4 +179,15 @@ public class OptimizationObservation implements Comparable{
this.FEm = FEm; this.FEm = FEm;
} }
@Override
public String toString(){
return "OptimizationObservation[" + this.getDate() + "] "
+ "Yield = " + this.getAvling()
+ ", FEm = " + this.getFEm()
+ ", Height = " + this.getHeight()
+ ", INDF = " + this.getINDF()
+ ", MSC = " + this.getMSC()
+ ", NDF = " + this.getNDF()
+ ", RawProtein = " + this.getRawProtein();
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment