Apex Lists: Master List Manipulation - Part 1 | Apex Collections - Salesforce Apex Tutorial Part 8

Published: 06 August 2024
on channel: SFDC Stop
549
16

Hello Trailblazers, Dive into the world of Apex Lists in this video! Learn everything from creating and accessing elements to updating and clearing lists.

In this video, you'll discover:

1. What lists are and how to create them
2. How to access and manipulate list elements
3. Essential list operations like adding, removing, and updating
4. Calculating list size and clearing its contents
5. Handling out-of-bounds errors

Whether you're a beginner or looking to solidify your Apex skills, this video is for you!

Chapters:
0:00 Introduction
0:14 What is a list?
0:52 Index in an apex list
1:25 Create a list in apex
6:16 Retrieve an element from the list
7:20 Replace an element at a particular index in the list
9:14 Assigning a new element to an existing index using square bracket notation
10:46 Understanding List index out of bounds error
12:39 Calculating the size of the list
13:55 Clear/Remove all elements present in the list
15:48 Wrapping Up

Resources:
1. Code Snippet: https://www.sfdcstop.com/2024/08/coll...
2. Salesforce Documentation on Apex Lists: https://developer.salesforce.com/docs...

Other Playlists:
1. Apex Data Structures Tutorial:    • Apex Data Structures Tutorial  
2. Salesforce LWC Tutorial Series:    • Salesforce Lightning Web Component (L...  


Watch video Apex Lists: Master List Manipulation - Part 1 | Apex Collections - Salesforce Apex Tutorial Part 8 online without registration, duration hours minute second in high quality. This video was added by user SFDC Stop 06 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 549 once and liked it 16 people.