类 Count
- java.lang.Object
-
- edu.princeton.cs.algs4.Count
-
public class Count extends java.lang.Object
TheCount
class provides anAlphabet
client for reading in a piece of text and computing the frequency of occurrence of each character over a given alphabet.For additional documentation, see Section 5.5 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
-
-
方法概要
修饰符和类型 方法 说明 static void
main(java.lang.String[] args)
Reads in text from standard input; calculates the frequency of occurrence of each character over the alphabet specified as a commmand-line argument; and prints the frequencies to standard output.
-