what is hashset in salesforce?

0 votes

1 Answer

0 votes
answered Dec 13, 2015 by darsh (3,020 points)

Hashset are available in JAVA not sure about in salesforce but you can implement it using SET

HashSet extends AbstractSet and implements the Set interface. It creates a collection that uses a hash table for storage.

A hash table stores information by using a mechanism called hashing. In hashing, the informational content of a key is used to determine a unique value, called its hash code.

The hash code is then used as the index at which the data associated with the key is stored. The transformation of the key into its hash code is performed automatically.

Welcome to I Can Crack, where you can ask questions and receive answers from other members of the community.

68 questions

47 answers

3 comments

5,318 users

...