Posts by gmrosa • 11 points
1 post
-
1
votes1
answer111
viewsA: Check if position is between 2 positions
You can implement the equals and the hashcode from the positions x and y in your object Region_. Change your HashMap string key for HashMap key to Integer, in the key of hashmap use the hashcode of…