I have a method that returns a TreeMap.
The TreeMap stores values as follows:
{a=String[] of values,
b=String[] of values,
c=String[] of values}
However now I need to return an alias
string aswell i.e. I want to return a meaningful name for each key a, b and c etc.
Is there any Collection that can store something like (key, keyName, values) or do I have to use an Object for each key to store the key:alias pairs.
If so how can TreeMap sort by these Object keys
Hope I've made sense.