24,100 results
Open links in new tab
  1. HashSet (Java Platform SE 8 ) - Oracle

    HashSet ... Constructs a new set containing the elements in the specified collection. The HashMap is created with default load factor …Read more

  2. HashSet<T> Class (System.Collections.Generic) | Microsoft Learn

    The HashSet<T> class provides high-performance set operations. A set is a collection that contains no duplicate elements, and …Read more

  3. HashSet in Java - GeeksforGeeks

    Sep 1, 2026 · HashSet in Java implements the Set interface of the Collections Framework. It is used to store the unique elements, …Read more

  4. Java HashSet - W3Schools

    Java HashSet A HashSet is a collection of elements where every element is unique. It is part of the java.util package and implements …Read more

  5. HashSet (Java SE 17 & JDK 17) - Oracle

    Iterating over this set requires time proportional to the sum of the HashSet instance's size (the number of elements) plus the …Read more

  6. HashSet<T> Constructor (System.Collections.Generic)

    A HashSet<T> object's capacity automatically increases as elements are added to the object. If collection contains duplicates, the …Read more

  7. Internal working of Set/HashSet in Java - GeeksforGeeks

    Jul 23, 2025 · But how in java Set interface implemented classes like HashSet, LinkedHashSet, TreeSet etc. achieve this …Read more

  8. Java HashSet Class - Online Tutorials Library

    The Java HashSet class implements the Set interface, backed by a hash table. A HashSet is a collection of elements where every …Read more

  9. Java HashSet - Programiz

    In this tutorial, we will learn about the Java HashSet class. We will learn about different hash set methods and operations with the …Read more

  10. A Guide to HashSet in Java - Baeldung

    Jul 3, 2025 · In this article, we outlined the utility of a HashSet, its purpose as well as its underlying working. We saw how efficient it …Read more