Code example for Objects.ToStringHelper

0
 
   public String getName() { 
      return this.name; 
   } 
 
   @Nullable 
   public String getValue() { 
      return this.value; 
   } 
 
   @Override 
   public int hashCode() { 
      return Objects.hashCode(category, description, name, value); 
   } 
 
   @Override 
   public boolean equals(Object obj) { 
      if (this == obj) return true; 
      if (obj == null || getClass() != obj.getClass()) return false; 
      ConfigurationEntry that = ConfigurationEntry.class.cast(obj);