Class CharacterTable
java.lang.Object
|
+--CharacterTable
- public class CharacterTable
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
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
CharacterTable
public CharacterTable(java.lang.String s)
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)