function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Somasundaram SubramanianSomasundaram Subramanian 

remove duplicate

am new to delopment  how to rmeove duplicate in the list
zUsageToCreateT9 
 
SwethaSwetha (Salesforce Developers) 
HI,
Can you share more background on the issue and share code related to list
zUsageToCreateT9 so the community can suggest better?

Thanks
Somasundaram SubramanianSomasundaram Subramanian
zUsageToCreateT9 = new List < JSONGenerator >(); zUsageToCreateT9.add(usage.buildZuoraUsageT97()); if (prebillUsage != null){ zUsageToCreateT9.add(prebillUsage.buildZuoraUsageT97()) i feel some where duplicate value gets added and like to remove duplicate value in the list thanks