hcrypto.analyzer
Class FrequencyRecord

java.lang.Object
  |
  +--hcrypto.analyzer.FrequencyRecord
All Implemented Interfaces:
java.lang.Comparable

public class FrequencyRecord
extends java.lang.Object
implements java.lang.Comparable


Field Summary
 char ch
           
 int count
           
 
Constructor Summary
FrequencyRecord(char ch, int count)
           
FrequencyRecord(FrequencyRecord freq)
          The copy constructor
 
Method Summary
 int compareTo(java.lang.Object o)
          From the Comparable interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ch

public char ch

count

public int count
Constructor Detail

FrequencyRecord

public FrequencyRecord(char ch,
                       int count)

FrequencyRecord

public FrequencyRecord(FrequencyRecord freq)
The copy constructor
Method Detail

compareTo

public int compareTo(java.lang.Object o)
From the Comparable interface.
Specified by:
compareTo in interface java.lang.Comparable