@Test public void testToString() { final BasicData data = new BasicData(2); assertEquals("[BasicData: input:[0.0, 0.0], ideal:[], label:null]", data.toString()); }
public String toString() { final StringBuilder result = new StringBuilder(); result.append("[BasicData: input:"); result.append(Arrays.toString(this.input)); result.append(", ideal:"); result.append(Arrays.toString(this.ideal)); result.append(", label:"); result.append(this.label); result.append("]"); return result.toString(); }
BasicData { public String toString() { final StringBuilder result = new StringBuilder(); result.append("[BasicData: input:"); result.append(Arrays.toString(this.input)); result.append(", ideal:"); result.append(Arrays.toString(this.ideal)); result.append(", label:"); result.append(this.label); result.append("]"); return result.toString(); } }
BasicData { public String toString() { final StringBuilder result = new StringBuilder(); result.append("[BasicData: input:"); result.append(Arrays.toString(this.input)); result.append(", ideal:"); result.append(Arrays.toString(this.ideal)); result.append(", label:"); result.append(this.label); result.append("]"); return result.toString(); } BasicData(final int theInputDimensions);  BasicData(final int theInputDimensions, final int theIdealDimensions);  BasicData(final int theInputDimensions, final int theIdealDimensions, final String theLabel);  BasicData(final double[] theInputData, final double[] theIdealData, final String theLabel);  BasicData(final double[] theInputData, final String theLabel);  BasicData(final double[] theInputData); }
BasicData { public String toString() { final StringBuilder result = new StringBuilder(); result.append("[BasicData: input:"); result.append(Arrays.toString(this.input)); result.append(", ideal:"); result.append(Arrays.toString(this.ideal)); result.append(", label:"); result.append(this.label); result.append("]"); return result.toString(); } BasicData(final int theInputDimensions);  BasicData(final int theInputDimensions, final int theIdealDimensions);  BasicData(final int theInputDimensions, final int theIdealDimensions, final String theLabel);  BasicData(final double[] theInputData, final double[] theIdealData, final String theLabel);  BasicData(final double[] theInputData, final String theLabel);  BasicData(final double[] theInputData); double[] getInput(); double[] getIdeal(); String getLabel(); void setLabel(final String label); String toString(); static List<BasicData> convertArrays(final double[][] inputData, final double[][] idealData); }
BasicData { public String toString() { final StringBuilder result = new StringBuilder(); result.append("[BasicData: input:"); result.append(Arrays.toString(this.input)); result.append(", ideal:"); result.append(Arrays.toString(this.ideal)); result.append(", label:"); result.append(this.label); result.append("]"); return result.toString(); } BasicData(final int theInputDimensions);  BasicData(final int theInputDimensions, final int theIdealDimensions);  BasicData(final int theInputDimensions, final int theIdealDimensions, final String theLabel);  BasicData(final double[] theInputData, final double[] theIdealData, final String theLabel);  BasicData(final double[] theInputData, final String theLabel);  BasicData(final double[] theInputData); double[] getInput(); double[] getIdeal(); String getLabel(); void setLabel(final String label); String toString(); static List<BasicData> convertArrays(final double[][] inputData, final double[][] idealData);  }