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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to