makes Table.java java 6 compatible

java 6 wouldn't accept (char) cast of comparable, but does
accept (Character) cast