Add toString() methods to help with debugging
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1894 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
dd333d5b43
commit
675714d03d
@ -179,4 +179,8 @@ public class Cell implements HasFields, Jsonizable {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return value.toString();
|
||||
}
|
||||
}
|
||||
|
@ -231,4 +231,13 @@ public class Row implements HasFields, Jsonizable {
|
||||
|
||||
return (cells.size() > 0) ? new Row(cells, flagged, starred) : null;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuffer result = new StringBuffer();
|
||||
for (Cell cell : cells) {
|
||||
result.append(cell.toString());
|
||||
result.append(",");
|
||||
}
|
||||
return result.toString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user