My story: There should be some kind of play between a CSVRecord and a Map<String, String>. My current app requires only reading, not writing.
Solutions: - CSVRecord implements Map<String, String> - CSVRecord implements Map<String, String> but read-only - CSVRecord implements toMap() -> Map<String, String> (a plain HashMap) - CSVRecord implements toMap() -> Map<String, String> (a read-only HashMap) - Split CSVRecord into a CSVMappedRecord subclass which can implement one of the above. Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory