You need to sign in to do that
Don't have an account?
GMASJ
How to add different set values into one set
Hi,
How to add in one SET I have two different methods which returns value I am not able to add in one SET so creating two different SET
set<id> actchl = new set<id>(AccountHierarchyUtil.ChildToParnet(AccountID));
set<id> actpar = new set<id>(AccountHierarchyUtil.ParnetToChild(AccountID));
Please suggest me how to add in one SET
Thanks
Sudhir
How to add in one SET I have two different methods which returns value I am not able to add in one SET so creating two different SET
set<id> actchl = new set<id>(AccountHierarchyUtil.ChildToParnet(AccountID));
set<id> actpar = new set<id>(AccountHierarchyUtil.ParnetToChild(AccountID));
Please suggest me how to add in one SET
Thanks
Sudhir
addAll method results in the union of the two sets. The specified set must be of the same type as the original set that calls the method.
Hope this helps you!
Thanks
Varaprasad
For Support: varaprasad4sfdc@gmail.com