Activity Forums Salesforce Questions and Answers What is the use of values() in map in Salesforce?

  • What is the use of values() in map in Salesforce?

  • Pooja

    Member
    February 21, 2020 at 2:36 pm

    What is the use of values() in map in Salesforce?

  • Deepak

    Member
    February 21, 2020 at 2:54 pm

    Hi Pooja,

    values() -  This method returns a list which contains all the values in the map.The values are returned in an arbitrary order.

  • Kirandeep

    Member
    February 21, 2020 at 3:05 pm

    Values() is a predefined method in map class which return list which contains all the values in the map.

  • Aditya

    Member
    February 21, 2020 at 4:29 pm

    Values in Map are basically return the values of their corresponding  keys in Collection of Salesforce Apex.

Viewing 1 - 4 of 4 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now