Mastering Apex Collections

  Рет қаралды 11,901

Salesforce Apex Hours

Salesforce Apex Hours

Күн бұрын

Working with collections like List, Map and Set is part of every day’s routine for Apex developer. While their basic use is straightforward, there are some advanced quirks that can get you to the next level. Join us in this session to learn about advanced concepts such as list sorting, object hash code and more.
0:00 Introduction
2:35 What is Object?
4:00 Collections: List, Set and Map
7:25 Collection Casting
9:06 equals() and hasCode() in Salesforce
14:06 Using Apex Maps with IDs and Strings
24:45 Iterating on Collections
25:00 Iterators and Iterable Interfaces
26:35 Iterators at work
30:16 Iterators and Collection Locking
30:17 Sorting in List
34:17 Comparable Interface
37:00 Default primitive ordering
40:40 Default sObject ordering
41:58 Custom Sort for sObject
49:24 Sorting with Comparators
53:37 ListUtils
54:15 Bubble Sort Algorithm in Apex
1:00:00 Q&A

Пікірлер: 17
@chatoanil
@chatoanil 2 жыл бұрын
Thank you Philip . Great info
@apexhours
@apexhours 2 жыл бұрын
Glad you enjoyed it
@compton8301
@compton8301 2 жыл бұрын
Thanks! :)
@apexhours
@apexhours 2 жыл бұрын
Glad you like it
@avinashvundemodalu5628
@avinashvundemodalu5628 2 жыл бұрын
Do video on multi list of list of list
@apexhours
@apexhours 2 жыл бұрын
We cover that in our Developer training
@vishalsoni9408
@vishalsoni9408 2 жыл бұрын
Is there people exist or it's only me who gets anxious while getting development task?
@apexhours
@apexhours 2 жыл бұрын
I still enjoying development event after 12 year.
@sreedhargupta891
@sreedhargupta891 2 жыл бұрын
When to use list When to use set When to use map
@apexhours
@apexhours 2 жыл бұрын
This session cover most of the advance topic of collection. Basic session is available in Our Developer Series
@vishnuguntika7142
@vishnuguntika7142 2 жыл бұрын
List - if u need to insert any insertion of values and duplicate too then list will be useful and u can find the values by Index. Set - If u don't want to add duplicate values then set is better to use. Example: Acc number, emp id, etc... Map: if u need to find the values by the key then map is better to use.. Hence this will be helpfull to you.
@Infinite0042
@Infinite0042 Жыл бұрын
I think Without Map Apex is Incomplete !!😅
@apexhours
@apexhours Жыл бұрын
True
@asrinivasareddy4066
@asrinivasareddy4066 2 жыл бұрын
Hello This code is not giving me any errors List mylist = new List{1,2,3}; Iterator it = mylist.iterator(); System.debug(it.next()); System.debug(it.next()); System.debug(it.next()); mylist.add(4); System.debug(mylist);
@apexhours
@apexhours 2 жыл бұрын
what you are trying to do ?
@asrinivasareddy4066
@asrinivasareddy4066 2 жыл бұрын
I am trying to error out the code to get the final exception as mentioned in the video
@hariharannatarajan7208
@hariharannatarajan7208 Жыл бұрын
didnt u get any error while executing this snippet
Mocking Apex Tests
40:40
Salesforce Apex Hours
Рет қаралды 9 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 341 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 105 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 16 МЛН
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 323 М.
Event driven development on Salesforce | All about event in Salesforce
59:13
Salesforce Apex Hours
Рет қаралды 11 М.
Salesforce Apex Best Practices
1:32:49
Salesforce Apex Hours
Рет қаралды 15 М.
Pointers and dynamic memory - stack vs heap
17:26
mycodeschool
Рет қаралды 1,4 МЛН
VICKY KAUSHAL REACTS TO VICKY KAUSHAL MEMES ft. VICKY KAUSHAL
26:42
Tanmay Bhat
Рет қаралды 5 МЛН
Asynchronous Apex (Batchable, Queueable, Future, Scheduler)
1:22:04
Salesforce Apex Hours
Рет қаралды 43 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 63 М.
Trigger Action Framework
1:13:26
Salesforce Apex Hours
Рет қаралды 15 М.
Security in Salesforce | Security for Salesforce Developers
1:13:48
Salesforce Apex Hours
Рет қаралды 23 М.