@Test public void testToString() { final CsvContext context1 = new CsvContext(1, 2, 3); assertEquals("{lineNo=1, rowNo=2, columnNo=3, rowSource=null}", context1.toString()); final CsvContext context2 = new CsvContext(1, 2, 3); context2.setRowSource(Arrays.asList(new Object[] { "one", "two", "three" })); assertEquals("{lineNo=1, rowNo=2, columnNo=3, rowSource=[one, two, three]}", context2.toString()); }
@Override public String toString() { return String.format("{lineNo=%d, rowNo=%d, columnNo=%d, rowSource=%s}", lineNumber, rowNumber, columnNumber, rowSource); }
CsvContext implements Serializable { @Override public String toString() { return String.format("{lineNo=%d, rowNo=%d, columnNo=%d, rowSource=%s}", lineNumber, rowNumber, columnNumber, rowSource); } }
CsvContext implements Serializable { @Override public String toString() { return String.format("{lineNo=%d, rowNo=%d, columnNo=%d, rowSource=%s}", lineNumber, rowNumber, columnNumber, rowSource); } CsvContext(final int lineNumber, final int rowNumber, final int columnNumber);  CsvContext(final CsvContext c); }
CsvContext implements Serializable { @Override public String toString() { return String.format("{lineNo=%d, rowNo=%d, columnNo=%d, rowSource=%s}", lineNumber, rowNumber, columnNumber, rowSource); } CsvContext(final int lineNumber, final int rowNumber, final int columnNumber);  CsvContext(final CsvContext c); int getLineNumber(); void setLineNumber(int lineNumber); int getRowNumber(); void setRowNumber(int rowNumber); int getColumnNumber(); void setColumnNumber(int columnNumber); List<Object> getRowSource(); void setRowSource(List<Object> rowSource); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
CsvContext implements Serializable { @Override public String toString() { return String.format("{lineNo=%d, rowNo=%d, columnNo=%d, rowSource=%s}", lineNumber, rowNumber, columnNumber, rowSource); } CsvContext(final int lineNumber, final int rowNumber, final int columnNumber);  CsvContext(final CsvContext c); int getLineNumber(); void setLineNumber(int lineNumber); int getRowNumber(); void setRowNumber(int rowNumber); int getColumnNumber(); void setColumnNumber(int columnNumber); List<Object> getRowSource(); void setRowSource(List<Object> rowSource); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }