posted 14 years ago
hi all,
i want to merge two lists inside a list
[] --> ArrayList
c1,c2,c3,c4,c5 --> different objects of the same class (eg. some customer class)
merging criteria::
[[c1,c2],[c3,c4],[c1,c5]] to [[c1,c2,c5],[c3,c4]]
also
[[c1,c2],[c2,c3],[c3,c4]] to [[c1,c2,c3,c4]]
Thing is, its like lists inside a list.
Hope you can help me implementing this.
Thanks