You need to sign in to do that
Don't have an account?
Vijay@sfdc
Hello all,
please help me to display indiviusal elements from loop
List<List<integer>> mainlist = new List<List<integer>>
{
new List<integer>{1, 1, 9},
new List<integer>{1, 2, 0},
new List<integer>{1, 3, 6},
new List<integer>{1, 4, 5, 2}
};
system.debug('mainlist'+ mainlist);
for(integer i=0;i<mainlist.size();i++)
{
system.debug('==>>'+mainlist.get(i));// with tihs i can loop all ((1, 1, 9), (1, 2, 0), (1, 3, 6), (1, 4, 5, 2))
for(integer j)
// how to wirte code to display indivisual elements
}
Thanks
Looping nested list
Hello all,
please help me to display indiviusal elements from loop
List<List<integer>> mainlist = new List<List<integer>>
{
new List<integer>{1, 1, 9},
new List<integer>{1, 2, 0},
new List<integer>{1, 3, 6},
new List<integer>{1, 4, 5, 2}
};
system.debug('mainlist'+ mainlist);
for(integer i=0;i<mainlist.size();i++)
{
system.debug('==>>'+mainlist.get(i));// with tihs i can loop all ((1, 1, 9), (1, 2, 0), (1, 3, 6), (1, 4, 5, 2))
for(integer j)
// how to wirte code to display indivisual elements
}
Thanks
Let us know if this will help u
Thanks
Amit Chaudhary
All Answers
Let us know if this will help u
Thanks
Amit Chaudhary