Lists in Apex | Apex Collections | Chapter 29 | Salesforce Developer Masterclass

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 12

  • @AnusaiYellapu
    @AnusaiYellapu 2 месяца назад +1

    such a good explanation.... thanks :)

  • @abishekkrishnan8447
    @abishekkrishnan8447 2 месяца назад +1

    very informative. I am new to coding. I can understand very well what you are explaining

  • @ravigrover1923
    @ravigrover1923 6 месяцев назад +1

    Thanks bhai for sharing your expertise in Apex

  • @naitikpatle6180
    @naitikpatle6180 4 месяца назад +2

    How i get the index of if there are duplicate values in list, lest say there is banana on index 3 and index5.
    it give only 3, but it is present on 5 as well.
    please assist.

    • @salesforcemakessense
      @salesforcemakessense  4 месяца назад +1

      @@naitikpatle6180 in that case you need to iterate and use another function to check whether list contains that element at multiple indexes and store it in another collection variable.

    • @naitikpatle6180
      @naitikpatle6180 4 месяца назад +1

      @@salesforcemakessense Thanks, will try with you tutorial.

  • @shahabazahmed6854
    @shahabazahmed6854 6 месяцев назад +1

    What is benefits of ordered collections.... This the question i have encountered in an interview.....

    • @salesforcemakessense
      @salesforcemakessense  6 месяцев назад +2

      Yes ordered collection is always useful when you want to work on a kind of a sorted list or there are records where they are dependent on the order they are processed.
      In such cases you would always want to have control on the order of how records are added in a collection and this is where it would come in handy!

    • @shahabazahmed6854
      @shahabazahmed6854 6 месяцев назад +1

      @@salesforcemakessense thanks