commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Commented) (JIRA)" <>
Subject [jira] [Commented] (CSV-83) Provide a header encapsulator class
Date Tue, 27 Mar 2012 00:07:31 GMT


Sebb commented on CSV-83:

It looks as though the header Map is not part of the public API.
If that is the case then using a separate encapsulator class is not necessary.
We could change the headers to be (e.g.) a sorted list - if that were more efficient - without
affecting the API.

It's not good to over-engineer, but IMO it's worse to expose internal implementation details
in the public API, which is why I raised the issue initially.
> Provide a header encapsulator class
> -----------------------------------
>                 Key: CSV-83
>                 URL:
>             Project: Commons CSV
>          Issue Type: Improvement
>            Reporter: Sebb
> Might be useful to have a class to encapsulate the headers, rather than assuming they
are stored as a map.
> This would allow more a more flexible implementation if required.
> Methods which it would be useful to have:
> - getIndex(name) - could return -1 for unknown name?
> - iterator()

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message