hcrypto.analyzer.tool
Class FrequencyRecord
java.lang.Object
hcrypto.analyzer.tool.FrequencyRecord
- All Implemented Interfaces:
- java.lang.Comparable
public class FrequencyRecord
- extends java.lang.Object
- implements java.lang.Comparable
Stores frequency data.
|
Method Summary |
int |
compareTo(java.lang.Object o)
From the Comparable interface. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ch
public char ch
count
public int count
FrequencyRecord
public FrequencyRecord(char ch,
int count)
FrequencyRecord
public FrequencyRecord(FrequencyRecord freq)
- The copy constructor
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- From the Comparable interface.
- Specified by:
compareTo in interface java.lang.Comparable