[Solved] Get ArrayList entry of a HashMap Entry [closed]


You can simply use the get method.

stateIndex.get(nameOfEntry);

You set with put and access with get.

If you want to get a specific element, just chain the get method for ArrayList.

Whatever element = stateIndex.get(nameOfEntry).get(5);// For any type.

1

solved Get ArrayList entry of a HashMap Entry [closed]