HashSet overview
- 10th Sep 2018
- 0
- 8947
- Hashset in java hashset in java with example Hashset Overview Introduction of HashSet what is Hashset in java when to use hashset in java
HashSet is a java class which implements Set interface Main features of HashSet HashSet contains only unique elements, does not allow duplicates. HashSet stores elements by using “hashing” mechanism It does not maintain the insertion order, elements will be in random order. It allows null value, since it allows unique values, only one null value […]