Class DeDup


  • public class DeDup
    extends Object
    The DeDup class provides a client for reading in a sequence of words from standard input and printing each word, removing any duplicates. It is useful as a test client for various symbol table implementations.

    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)