data structures - Multiple Keys to Single Value Map Java -
i think question similar one: how implement map multiple keys? important difference. in question (if understanding of correct, please let me know if isn't), keys supposed unique. want have map in form: mymap keys aren't unique. if doesn't make sense, want 2 dimensional array, rather refering elements coordinates, want refer them pairs of objects.
anyone have ideas either library works or way implement myself? far libraries go, i've looked @ apache commons , guava, neither seem have want.
the table data structure in guava seems meet requirement of refering value pair of objects.
Comments
Post a Comment