[ 
https://issues.apache.org/jira/browse/CSV-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307126#comment-15307126
 ] 

Gary Gregory commented on CSV-184:
----------------------------------

I think we can some or all of the following:

- Make public: <M extends Map<String, String>> M putIn(final M map)
  This would let you feed in what ever map you want.
- Add toHashMap(float loadFactor)
  Your specific use case.

Thoughts from the community?

> CSVRecord toMap Method(LoadFactor for HashMap)
> ----------------------------------------------
>
>                 Key: CSV-184
>                 URL: https://issues.apache.org/jira/browse/CSV-184
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>    Affects Versions: 1.4
>            Reporter: Gaurav Agarwal
>            Priority: Minor
>
> Set loadFactor for Hashmap Object to 1(Default : 0.75) as currently it will 
> always resize the map when we are putting entries in it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to