public class LookupIndex extends Object
LookupIndexclass 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.
public static void main(String args)