@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof Attributes)) {
      return false;
    }
    Attributes that = (Attributes) o;
    return bold == that.bold && blink == that.blink && reverse == that.reverse
      && underline == that.underline && foregroundColor == that.foregroundColor
      && backgroundColor == that.backgroundColor;
  }
The attributes of text in the terminal.
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/terminal/Attributes.java