boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TemplateKey that = (TemplateKey)o; return Objects.equals(groupName, that.groupName) && Objects.equals(key, that.key); }