类 Count


  • public class Count
    extends java.lang.Object
    The Count class provides an Alphabet 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.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • main

        public 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.
        参数:
        args - the command-line arguments