Class FileIndex


  • public class FileIndex
    extends Object
    The FileIndex class provides a client for indexing a set of files, specified as command-line arguments. It takes queries from standard input and prints each file that contains the given query.

    For additional documentation, see Section 3.5 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

    Author:
    Robert Sedgewick, Kevin Wayne
    • Method Detail

      • main

        public static void main​(String[] args)