Class CharacterCountTable

java.lang.Object
  |
  +--CharacterCountTable

public class CharacterCountTable
extends java.lang.Object


Field Summary
protected  CharacterCount[] characters
           
 boolean replaceDuplicates
           
protected  int size
           
 
Constructor Summary
CharacterCountTable()
           
 
Method Summary
protected  void add(CharacterCount cc)
           
 char charAt(int index)
           
 int countFor(char c)
           
 int countFor(int index)
           
 void dump()
           
 boolean isInTable(char c)
           
 boolean isInTable(CharacterCount c)
           
 int length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

protected int size

characters

protected CharacterCount[] characters

replaceDuplicates

public boolean replaceDuplicates
Constructor Detail

CharacterCountTable

public CharacterCountTable()
Method Detail

add

protected void add(CharacterCount cc)

isInTable

public boolean isInTable(CharacterCount c)

isInTable

public boolean isInTable(char c)

charAt

public char charAt(int index)

countFor

public int countFor(int index)

countFor

public int countFor(char c)

dump

public void dump()

length

public int length()