@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof TerminalSize)) {
      return false;
    }
    TerminalSize that = (TerminalSize) o;
    return columns == that.columns && rows == that.rows;
  }
Terminal dimensions in 2-d space, measured in number of rows and columns.
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/terminal/TerminalSize.java