@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || !(o instanceof HandTypesKey)) return false;

    HandTypesKey that = (HandTypesKey) o;

    if (getInt() != that.getInt()) return false;
    if (getBoolean() != that.getBoolean()) return false;

    return true;
  }