The Apache Commons Bidirectional Map [1] is the best data structure
for bug 58740. I have found so far that will encapsulate the
complexity of needing to look up by index or value while keeping good
performance.
It looks like Apache Commons Collections is not currently a
pre-requisite for building POI [3]. Is this something worth adding as
a dependency to POI, or should I duplicate the BiDiMap implementation
into an internal POI class?

[1] 
http://commons.apache.org/proper/commons-collections/apidocs/org/apache/commons/collections4/BidiMap.html
[2] https://bz.apache.org/bugzilla/show_bug.cgi?id=58740
[3] http://poi.apache.org/overview.html#components

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

Reply via email to