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

io.nosqlbench.virtdata.api.templates.BindPoint Maven / Gradle / Ivy

Go to download

Statistical sampling library for use in virtdata libraries, based on apache commons math 4

There is a newer version: 5.17.0
Show newest version
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 + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy