How to create a list from list of list using scala? -


i have following list:

list(list(vmnic4), list(vmnic5)) 

i want change

list(vmnic4,vmnic5) 

how do using scala??

you can use flatten:

list(list(vmnic4), list(vmnic5)).flatten 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -