Is it possible to fill the map in three fields: that is, for example, two keys, one value? Write in the code, please!

  • In principle, you can make a class that will contain three fields and place its objects in the collection! But exactly how to make a map into three fields, I now want to ask you! Maybe you know? - 13th13
  • Use two maps: k1-> value_object and k2-> value_object - avp

1 answer 1

You can use Table from the Google Guava library .