com.google.gerrit.server.comment.AutoValue_CommentContextLoader_Range Maven / Gradle / Ivy
The newest version!
package com.google.gerrit.server.comment;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_CommentContextLoader_Range extends CommentContextLoader.Range {
private final int start;
private final int end;
AutoValue_CommentContextLoader_Range(
int start,
int end) {
this.start = start;
this.end = end;
}
@Override
int start() {
return start;
}
@Override
int end() {
return end;
}
@Override
public String toString() {
return "Range{"
+ "start=" + start + ", "
+ "end=" + end
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof CommentContextLoader.Range) {
CommentContextLoader.Range that = (CommentContextLoader.Range) o;
return this.start == that.start()
&& this.end == that.end();
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= start;
h$ *= 1000003;
h$ ^= end;
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy