On Mon, 5 May 2008, Daniel Noll wrote:
> > So a blank cell really is different from a null cell, as you can just
> > write straight into a blank cell, while a null cell needs to be created
> > first
>
> This is still exposing the underlying details if you ask me.  In an
> ideal world, getCell(int) would, for a null cell, either create the cell
> for us, or return something with the same interface which creates the
> real thing if you set something on it.

Would a "getOrCreateCell(int)" be sufficient for you? That'd check to see
if the get returned null, and create+return if so

Some people will wnat to know the difference between null, blank or normal
cells, so I'm not keen on breaking things for them by default

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to