https://bz.apache.org/bugzilla/show_bug.cgi?id=58365

--- Comment #2 from Javen ONeal <[email protected]> ---
I think a Set<CellAddress> would be better than Set<String> since it eliminates
the burden of string parsing in client code. Unfortunately, the class
CellAddress doesn't currently exist in POI.

You don't want CellReference, since that has a concept of relative/absolute
that doesn't apply here.
You don't want CellRangeAddress since that forms an area defined by the top
left and lower left cells.

Taking a step back, can you get away with returning an array/list/iterator on
the CellComment objects themselves instead of the anchors? I'm guessing the
CellComment objects would be more useful to most people. If you need both,
consider some kind of Map<CellAddress, CellComment>.

If you end up writing a CellAddress class, there are a quite a few classes that
could be updated with this higher-level data structure.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to