
com.google.caliper.runner.target.AutoValue_Jvm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of caliper-runner Show documentation
Show all versions of caliper-runner Show documentation
Caliper's command line benchmark runner tool.
The newest version!
package com.google.caliper.runner.target;
import com.google.caliper.runner.config.VmConfig;
import com.google.caliper.runner.config.VmType;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_Jvm extends Jvm {
private final VmType type;
private final VmConfig config;
private final String classpath;
AutoValue_Jvm(
VmType type,
VmConfig config,
String classpath) {
if (type == null) {
throw new NullPointerException("Null type");
}
this.type = type;
if (config == null) {
throw new NullPointerException("Null config");
}
this.config = config;
if (classpath == null) {
throw new NullPointerException("Null classpath");
}
this.classpath = classpath;
}
@Override
public VmType type() {
return type;
}
@Override
public VmConfig config() {
return config;
}
@Override
public String classpath() {
return classpath;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Jvm) {
Jvm that = (Jvm) o;
return this.type.equals(that.type())
&& this.config.equals(that.config())
&& this.classpath.equals(that.classpath());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= type.hashCode();
h$ *= 1000003;
h$ ^= config.hashCode();
h$ *= 1000003;
h$ ^= classpath.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy