public class Allowlist extends Object
Allowlist
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 allowlist.
For additional documentation, see Section 1.2 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Reads in a sequence of integers from the allowlist file, specified as
a command-line argument.
|
public static void main(String[] args)
args
- the command-line arguments