/** * Constructor: fast initialization */ public CellData() { setNull(); }
/** * Copy constructor * * @param other */ public CellData(CellData other) { if (other != null) { this.printable = other.printable; this.sendStringValue = other.sendStringValue; this.stringValue = other.stringValue; this.objectValue = other.objectValue; this.type = other.type; } else { setNull(); } }
public CellData setValue(Object value) { if (value == null) { setNull(); } else if (value instanceof String) { setValue((String) value);