Package edu.princeton.cs.algs4
Class LookupIndex
- Object
-
- edu.princeton.cs.algs4.LookupIndex
-
public class LookupIndex extends Object
TheLookupIndex
class provides a data-driven client for reading in a key-value pairs from a file; then, printing the values corresponding to the keys found on standard input. Keys are strings; values are lists of strings. The separating delimiter is taken as a command-line argument. This client is sometimes known as an inverted index.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)
-
-