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

Class 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.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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.
      • 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 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.
        Parameters:
        args - the command-line arguments

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.