![JAR search and dependency download from the Maven repository](/logo.png)
info.tomfi.hebcal.shabbat.request.AutoValue_Request Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hebcal-api Show documentation
Show all versions of hebcal-api Show documentation
A Java API encapsulating HebCal's REST API.
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