I created a class name objectA that has lets say 4 variable: Date time; String text; int var1, int var2
I need to create a list of ObjectA(). And then group them first by Time, second by var1, and then by var2. This is because i want to be able to compare lists that has different var2 but the same var1; or lists that has the same var2 but different var1.
I end up using "List< List< List< objectA>>>" which works fine i guess, but it doesnt looks great. And i dont think this is a good practice. Does anyone know any Datastructure or Tree or other ideas with which i could implement instead of List within List within List.
Almost similar question has actually been ask here: List of Lists of Lists .But the answer are just not what i was looking for. Please pardon me if this is still consider against the rule.
>>` ?
– Devendra Lattu Apr 13 '17 at 19:47