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

info.tomfi.hebcal.shabbat.request.AutoValue_Request Maven / Gradle / Ivy

There is a newer version: 2.1.9
Show newest version
package info.tomfi.hebcal.shabbat.request;

import java.util.Map;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_Request extends Request {

  private final Map queryParams;

  AutoValue_Request(
      Map queryParams) {
    if (queryParams == null) {
      throw new NullPointerException("Null queryParams");
    }
    this.queryParams = queryParams;
  }

  @Override
  public Map queryParams() {
    return queryParams;
  }

  @Override
  public String toString() {
    return "Request{"
        + "queryParams=" + queryParams
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Request) {
      Request that = (Request) o;
      return this.queryParams.equals(that.queryParams());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= queryParams.hashCode();
    return h$;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy