Processing list
Kim Trang Le <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
Dear all, I have difficulty processing a list a scala: Currently I have a list of like this (List(JString(2437), JString(2445), JString(2428), JString(321)), CompactBuffer((4,1))) and I would like after processing, the result will look like below: ( (2437, CompactBuffer((4,1))) , (2445, CompactBuffer((4,1))) , (2428, CompactBuffer((4,1))), (321, CompactBuffer((4,1))) ) Can any body help me with this issue? Thank you very much. -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.