/**
* The character at this cell.
*/
- private char ch = ' ';
+ private int ch = ' ';
/**
* The display width of this cell.
* @param ch character to set to
* @see #reset()
*/
- public Cell(final char ch) {
+ public Cell(final int ch) {
this.ch = ch;
}
* @param ch character to set to
* @param attr attributes to use
*/
- public Cell(final char ch, final CellAttributes attr) {
+ public Cell(final int ch, final CellAttributes attr) {
super(attr);
this.ch = ch;
}
*
* @return cell character
*/
- public char getChar() {
+ public int getChar() {
return ch;
}
*
* @param ch new cell character
*/
- public void setChar(final char ch) {
+ public void setChar(final int ch) {
this.ch = ch;
}
int B = 23;
int hash = A;
hash = (B * hash) + super.hashCode();
- hash = (B * hash) + (int)ch;
+ hash = (B * hash) + ch;
hash = (B * hash) + width.hashCode();
if (image != null) {
/*