improve hashmap/treemap documentation