Click or drag to resize
LookupIndex Class
The LookupIndex 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.
Inheritance Hierarchy
SystemObject
  Algs4NetLookupIndex

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class LookupIndex

The LookupIndex type exposes the following members.

Methods
  NameDescription
Public methodStatic memberMainTest
Implementation of the LookupIndex client.
Top
Remarks

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

This class is a C# port from the original Java class LookupIndex implementation by the respective authors.

See Also