io.nosqlbench.virtdata.api.templates.BindPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-curves4 Show documentation
Show all versions of virtdata-lib-curves4 Show documentation
Statistical sampling library for use in virtdata libraries, based
on apache commons math 4
package io.nosqlbench.virtdata.api.templates;
import java.util.Objects;
public class BindPoint {
private String anchor;
private String bindspec;
public BindPoint(String anchor, String bindspec) {
this.anchor = anchor;
this.bindspec = bindspec;
}
public String getAnchor() {
return anchor;
}
public String getBindspec() {
return bindspec;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
BindPoint bindPoint = (BindPoint) o;
if (!Objects.equals(anchor, bindPoint.anchor)) return false;
return Objects.equals(bindspec, bindPoint.bindspec);
}
@Override
public String toString() {
return "BindPoint{" +
"anchor='" + anchor + '\'' +
", bindspec='" + bindspec + '\'' +
'}';
}
}