Package collections
Class HashSetExample
- java.lang.Object
-
- collections.HashSetExample
-
public class HashSetExample extends java.lang.Object
Example forSet
interface andHashSet
class.- See Also:
LinkedHashSetExample
,CollectionExample
-
-
Constructor Summary
Constructors Constructor Description HashSetExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String... args)
Filters duplicate words from the file specified by the first command line argument and writes result to the console.
-