Question: I am fairly new in Java, so I have to rely on this community for this one. 

I need to store an object in some sort of array/list where I can quickly access the object using a string and two interger keys. Something like `a["string"][1][1]` - I have looked over some different guides and tutorials, but not been able to come up with a good solution that's easy to manage.

I am creating a Minecraft plugin where I need to keep track of where specific Blocks are with `world`, `chunk_x`, and `chunk_z`- I am trying to create a method where I can provide a location, which has the three beforementioned values, and do a quick look up based on the world and chunk, so I do not have to iterate all stored blocks in the world, but can limit it to 9 chunks of the world. (Current chunk i am in and all surrounding neighbours)

Answer: 
How about this:

```
Map<String, Object[][]> store;

```
What about combination of Map and [Pair](https://www.javatuples.org/index.html)?

```
Map<String, Pair<Integer, Integer>> tripletMap = new HashMap<>;

tripletMap.put(Pair.with(23, 1););

```

You can access values from your triplet as any map and then retrieved `Pair` as:

```
Pair<Integer, Integer> myPair = tripletMap.get("key")
myPair.getValue0()
myPair.getValue1()

```