Package edu.princeton.cs.algs4
Class Cat
- Object
-
- edu.princeton.cs.algs4.Cat
-
public class Cat extends Object
TheCat
class provides a client for concatenating the results of several text files.For additional documentation, see Section 1.1 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
- Author:
- Robert Sedgewick, Kevin Wayne
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Reads in a sequence of text files specified as the first command-line arguments, concatenates them, and writes the results to the file specified as the last command-line argument.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Reads in a sequence of text files specified as the first command-line arguments, concatenates them, and writes the results to the file specified as the last command-line argument.- Parameters:
args
- the command-line arguments
-
-