public class StreamPuzzles { public static void main(String[] args) { } /** * this uses stream operations to filter all * duplicates of of a wordlist file and to place it in a * List<String> */ public static ArrayList noDuplicates(String fileName) { } //this verson does not use streams public static ArrayList noDuplicates1(String fileName) { } /** * find the first n words in a file beginning with * the character ch and place them in a * list of strings. */ public static List findFirstN(String fileName, char ch, int n) { } //no streams version public static List findFirstN(String fileName, char ch, int n) { } /** * removes all nonwhitespace, nonalphanumeric characters * from the contents of a file and places it in a filen * named fileName.out. */ public static vood depunct(String fileName) { } /** * Extracts all distinct words used in a file and places * them in a file named fileName.voc */ public static void vocabulary(String fileName) { } }