I need a data structure that can store multiple (ordered) units of data, each of them in the following format:
Value1 is mapped to Value2 which is mapped to Value3 which is mapped to Value4
More specifically,
Value1 can be "a" or "b"
Value2 can be "g" or "u"
Value3 can any
string
Value4 can be a string containing one character from 'x', 'y', or 'z', or any combination of these (such as "xy", "xz", etc)
A data structure defined as an ArrayList of Map<String, Map><String, Map><String, String>> should work, but I'm looking for better ideas from you guys.
Any suggestions?