I am wondering if it would be appropriate to add a Table (a.k.a. Matrix) data structure to Commons Collections 4. Guava has one[1] and it seems like it would fit in with this project.
From the Guava Javadoc for Table > A collection that associates an ordered pair of keys, called a row key and a > column key, with a single value. A table may be sparse, with only a small > fraction of row key / column key pairs possessing a corresponding value. Under the hood, a Table<R, C, V> seems to be implemented as a Map<R, Map<C, V>>, with concrete implementations backed by HashMaps or TreeMaps. If it would be appropriate to add such a data structure, what would be the process of adding it to Commons Collections 4? [1]: https://github.com/google/guava/wiki/NewCollectionTypesExplained#table --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
