I need something in Java that would allow me to set multidimentional arrays with the ability to set String values as both as keys and as the value. Also, I need to be able to check if the keys exists within one and two dimentions. Something like.
myPlan = "cell 1"
myPlan = "cell 2"
myPlan = "cell 3"
myPlan = "cell 4"
myPlan = "cell 5"
myPlan = "cell 6"
than I need to be able to check if centerain keys exist for the first set/dimention, for example myPlan.containsKey(0), as well as for both dimentions myPlan.containsKey(0)(2). I don't want to check for values it has to check if the keys exist, which at times may be Strings.
I'm not sure if HashMap is even the correct thing to use in this instance and I'm not familiar with Vectors to start figuring it out on my own.
Thanks for your help and recommenations.