类 LookupIndex
- java.lang.Object
-
- edu.princeton.cs.algs4.LookupIndex
-
public class LookupIndex extends java.lang.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.
-
-
方法概要
修饰符和类型 方法 说明 static void
main(java.lang.String[] args)
-