How to deep clone the integer object or any other primitive data class object? What is a similar method to
SObject for Integer?
Integer a = 1232; // ... Integer b = a.clone(); // does not compile
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community