Documentation of 'edu.princeton.cs.algs4.Whitelist' Java class
Whitelist
edu.princeton.cs.algs4

Class Whitelist



  • public class Whitelist
    extends java.lang.Object
    The Whitelist class provides a client for reading in a set of integers from a file; reading in a sequence of integers from standard input; and printing to standard output those integers not in the whitelist.

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

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Reads in a sequence of integers from the whitelist file, specified as a command-line argument.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
        Reads in a sequence of integers from the whitelist file, specified as a command-line argument. Reads in integers from standard input and prints to standard output those integers that are not in the file.
        Parameters:
        args - the command-line arguments

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.