public static class WordCounter {
// The following are the ONLY variables we will modify for grading.
// The rest of your code must run with no changes.
public static final Path FOLDER_OF_TEXT_FILES= Paths.get(); // path to the folder where input text files are located
public static final Path WORD_COUNT_TABLE_FILE = Paths.get(); // path to the output plain-text (.txt) file
public static final intNUMBER_OF_THREADS = 2;// max. number of threads to spawn
public static void main(String args) {
// your implementation of how to run the WordCounter as a stand-alone multi-threaded program
}
}
Reviews
There are no reviews yet.