Map keys of type String are case-sensitive . Two keys that differ only by the case are considered unique and have corresponding distinct Map entries. Subsequently, the Map methods, including put , get , containsKey , and remove treat these keys as distinct.
Is Apex map key case-sensitive?
Map keys of type String are case-sensitive . Two keys that differ only by the case are considered unique and have corresponding distinct Map entries. Subsequently, the Map methods, including put , get , containsKey , and remove treat these keys as distinct.
Leave a Reply
Is Apex map key case sensitive?
Map keys of type String are case-sensitive . Two keys that differ only by the case are considered unique and have corresponding distinct Map entries. Subsequently, the Map methods, including put , get , containsKey , and remove treat these keys as distinct.