Category:HashSet

From Java Example Source Code

Jump to: navigation, search

These Java example programs show how to use HashSet.

HashSet implements the Set interface, backed by a hash table (actually a HashMap instance). It makes no guarantees as to the iteration order of the set; in particular, it does not guarantee that the order will remain constant over time. This class permits the null element.

Personal tools