public class WhiteFilter
extends java.lang.Object
This is a client of the SET ADT.
It reads in a whitelist of words from a file
(given as command-line argument).
Then read in a list of words from standard input
and print out all those words that are in the first file.
You may as data files:
http://algs4.cs.princeton.edu/35applications/tinyTale.txt
and http://algs4.cs.princeton.edu/35applications/list.txt.