All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.immutables.fixture.modifiable.HavingEqualsHashCode Maven / Gradle / Ivy

There is a newer version: 2.10.1
Show newest version
package org.immutables.fixture.modifiable;

import org.immutables.value.Value;

@Value.Modifiable
@Value.Immutable(intern = true)
public abstract class HavingEqualsHashCode {
  @Override
  public final boolean equals(Object o) {
    return o.toString().equals(this.toString());
  }

  @Override
  public final int hashCode() {
    return 1;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy