Package collections
Class TreeSetExample
- java.lang.Object
-
- collections.TreeSetExample
-
public class TreeSetExample extends java.lang.Object
Example forSet
interface andTreeSet
class.- See Also:
HashSetExample
,LinkedHashSetExample
,CollectionExample
-
-
Constructor Summary
Constructors Constructor Description TreeSetExample()
-
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.
-