Class CharacterTable

java.lang.Object
  |
  +--CharacterTable

public class CharacterTable
extends java.lang.Object


Field Summary
protected  boolean calculated
           
protected  char[] chars
           
protected  int[][] counts
           
protected  int height
           
protected  java.lang.String heldString
           
protected  int width
           
 
Constructor Summary
CharacterTable(java.lang.String s)
           
 
Method Summary
protected  void add(char c)
           
protected  void calculate()
           
 char charAt(int index)
           
 CharacterCountTable countsFor(int col)
           
 void dump()
           
 boolean isInTable(char c)
           
 int length()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

height

protected int height

width

protected int width

counts

protected int[][] counts

chars

protected char[] chars

heldString

protected java.lang.String heldString

calculated

protected boolean calculated
Constructor Detail

CharacterTable

public CharacterTable(java.lang.String s)
Method Detail

length

public int length()

calculate

protected void calculate()

add

protected void add(char c)

isInTable

public boolean isInTable(char c)

countsFor

public CharacterCountTable countsFor(int col)

dump

public void dump()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

charAt

public char charAt(int index)